sir what is %d | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

sir what is %d

sir what is %d

9th Apr 2020, 8:24 AM
Priyanshu Chatterjee
Priyanshu Chatterjee - avatar
6 Answers
+ 4
%d is a format specifier used to identify by printf or scanf ex: printf("%d",n)//tells to print integer n.
9th Apr 2020, 8:37 AM
affuu
affuu - avatar
+ 4
more specifically d stands for decimal system
9th Apr 2020, 8:43 AM
Enrique Flores
Enrique Flores - avatar
0
Thanks
9th Apr 2020, 8:39 AM
Priyanshu Chatterjee
Priyanshu Chatterjee - avatar
0
Hmmm
9th Apr 2020, 8:47 AM
Priyanshu Chatterjee
Priyanshu Chatterjee - avatar
0
'%d' is a format specifier, also known as placeholder used to specify the decimal data in other words used to hold the place for upcoming decimal data.
17th Jul 2020, 3:56 AM
raw width
raw width - avatar
0
why is it when I typed "%i", n it ran.
25th Sep 2020, 9:13 AM
Joey Organiza
Joey Organiza - avatar