+ 1

What is i% format specifier for int datatype in c language??

29th Jun 2019, 5:51 PM
Gaurav Rawat
Gaurav Rawat - avatar
3 Respostas
+ 2
It's %i, and it is used for integers
29th Jun 2019, 5:54 PM
Airree
Airree - avatar
+ 2
There is only a difference in scanf; %i specifies an integer, while %d specifies a decimal integer. They do the same with printf
30th Jun 2019, 5:37 AM
Airree
Airree - avatar
+ 1
Difference between %i and %d format specifier??
30th Jun 2019, 5:35 AM
Gaurav Rawat
Gaurav Rawat - avatar