Hi I'm new to C programming. It's been 2 weeks since I started learning C. I came across Increment and Decrement Operators and made some changes. Here's my coding-
#include <stdio.h>
int main ()
{
int a = 6, b;
printf("%d", b = a+ ++a);
return 0;
}
The result came 14.
I think b = 6 + (now a is increased to 7) b = 6 + 7 = 13
Pls explain where I'm wrong.