0
What is the output of this code?
int i=0; int x=++i-i--; printf("%d",x); please try it in your ide and explain me!!!
3 Respostas
0
it's 0. ++i(1) - i-- (1). postfix is applied after the assignment operation is finished
0
but I am getting -1 as output ?!
0
or an exit code?)