+ 2
What is meant by %1d in c programming
3 Answers
+ 2
%1d I don't know but we use %.1f so that only one digit after decimal point
+ 2
hmm... i have only seen %2d and above for printf() format specifier, but %1d in scanf() function allow it to only accept one digit, so maybe that is it?
+ 1
%ld this formatspace can uses of long & Double data type