Consider the following code:
#include <stdio.h>
int main() {
int i=8, j=9;
char m[]=" \"file\"";
char d = 'x';
printf("%c%s\n%d\n", d,m,i%j);
return 0;
}
which prints:
x "file"
8
There are two parts of this code that I am unsure of. One is "i%j" argument in the printf function. Exactly what does this call for (well obviously it ends up as 8 but why)? How do you read this to yourself?
My second question is with regards to the string " \"file\"". Why are the "\" characters omitted in the output?