code is as follows:
1 -sharpinclude <stdio.h>
2
3 void main(void) {
4
5 int ten = 10;
6 int two = 2;
7 printf("%d minus %d is %d\n",ten,2,ten-two);//A
8 printf("%d minus %d is %d\n",ten); //B
9
10 }
that"s what the book says:
B%d
linux:
:
I would like to ask, where is this problem?
is the compiler of my system different from the compiler of the author in the book? Is the compiler smarter now?