What's the main difference between two operators in the codes
Output : A = 2Code:#include<stdio.h>
int main ()
{
int A = 1;
A++;
printf(" A = %d ", A);
return 0;
}
Output : A = 2Code:#include<stdio.h>
int main ()
{
int A = 1;
++A;
printf(" A = %d ", A);
return 0;
}
Both operators gives same output