+ 1

What is the use of "%i"?

26th Jun 2019, 3:32 AM
Gaurav Shrivastav
Gaurav Shrivastav - avatar
2 Answers
+ 2
It means integer, while %d means decimal. Integer can accept, for example, hexadecimal values. While decimal only accepts decimals
26th Jun 2019, 3:44 AM
Alexander Santos
Alexander Santos - avatar