What this. (%d) means in c ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What this. (%d) means in c ?

28th Mar 2019, 2:08 PM
Aman Saxena
Aman Saxena - avatar
2 Answers
0
%d is used in functions like printf and scanf to denote base 10 (decimal) intger input/output.
28th Mar 2019, 2:37 PM
Vlad Serbu
Vlad Serbu - avatar
0
%d refers to an integer (or decimal) for example %s refers to a string. %c refers to a char. %d is used to print some number to standard output: https://code.sololearn.com/c63jW27320s0/?ref=app Hope this helps! 😁
2nd Apr 2019, 7:28 PM
Diego Tardio