D
deepak
Hi,
For the following program the output I'm getting is not the one I
expected.
main()
{
int i = 3;
i = i++;
printf("%d\n", i);
}
Output is 3 and the output I expected was 4.
Is it an undefined behaviour?
Thanks,
Deepak
For the following program the output I'm getting is not the one I
expected.
main()
{
int i = 3;
i = i++;
printf("%d\n", i);
}
Output is 3 and the output I expected was 4.
Is it an undefined behaviour?
Thanks,
Deepak