Monday, July 27, 2009

What is C data specifier for a double data format?

Is it %f or something else?

What is C data specifier for a double data format?
%f will work for both float and double on some/many compilers.





%lf is needed for type double on other compilers.





%Lf is needed for long double (on many compilers, yadda, yadda standard disclaimer, yadda...)
Reply:it is %f.

sound cards

No comments:

Post a Comment