0
#include<stdio.h>
#include<conio.h>
main()
{
int i=2;
i=i---i--;
printf("%d",i);
getch();
}

I don't understand why output of this program is 1. I guess it may be precedence of operators. but I don't figure out why this.

Vishvendra Singh
  • 195
  • 2
  • 13

0 Answers0