+ 1
Please is %d for integer ??
2 Respostas
0
Yes, %d is the format specifier for integer types - the 'd' stands for decimal. In languages like C and C++ %i works as well but isn't as widely used.
%d and %i are pretty much the same when printing values, but there is a slight difference when scanning in values with scanf(). But I'm not sure which language you're using so it may be irrelevant to you.
0
Oki thanks i am using C