0
what is meant %d
3 RĂ©ponses
+ 3
Hi Mass Murali ,
đ %d, is an format specifier which is used to specify integer number %d is used to represent a part of memory as an integer. same is %f and other speciers is work for float and so on
đ If we want to read and print integer using scanf() and printf() function, either %i or %d is used but there is subtledifference in both %i and %d format specifier. %d specifies signed decimal integer while %i specifies integer
Have these đ đ đ đ
+ 4
If we are talking about python this expression can have different meaning.
â%dâ is used as a plaeholder in formatting output with print and is used to display âsigned intâ values.
In formatting date / time with strftime() â%dâ does display the number of day in a month from a datetime object.
0
thanks