The output of %d is integer data with negative sign.
Generally speaking, the number output in %d format can have a negative sign, and all books output in %u format have no negative sign. If you use them to output the same positive number, the result is the same, but the result is different when you output a single negative number. For example, if-1 is output in %u format, the result is 65535 (in Turbo C environment).
The output of %o is an octal number, for example, 83, which means 123.
# include & ltstdio.h & gt
void main()
{
int a = 83
printf("%d,%o\n ",a,a);
The result is: 83, 123.