What does the "f" in 'scanf' mean?
"f"
'scanf'
Also, why do double values ββmean "%g" - what does g mean?
"%g"
g
I assume f means the function accepts a format specifier, like printf() does.
f
printf()
%g = %f + 1 , I think, since %d was assumed to be a decimal integer.
%g
%f + 1
%d
A complete list with descriptions can be found here .