I have tried to print two integer values in the following printf() function:
printf("%s", "The quotient is %d with remainder %d", quo, rem);
My book says this should print
The quotient is 5 with remainder 1
(with quo being 11 and rem 1), but instead it prints
The quotient is %d with remainder %d
I am using gcc to compile and running Ubuntu 12.04 LTS (64 bit). Did I misread? Is it a compiler issue?