This is my code, and I still keep on looking what's wrong, I'm a beginner and I want to learn:
#include<stdio.h>
int main()
{
int a;
printf("Input: ");
scanf("%d", &a);
printf("\n%d", &a);
a+=2;
printf("\n%d", &a);
a+=4;
printf("\n%d", &a);
a+=2;
printf("\n%d", &a);
return 0;
}
Here is the output:
Input: 10
-1078169908
-1078169908
-1078169908
-1078169908