Hi guys, when I put a pointer in my source code, the code can be compiled, and the .exe file also can be generated.
But the .exe can't be executed properly, and it just crushed on the Windows 7.
The followed is the software version.
C::B version:13.12
SDK version:1.19.0
wx version: 2.8.12
MinGW version: 4.7.1
The source code is:
#include <stdio.h>
void main()
{ int a, *p;
a=2;
*p=a;
printf("a=%d",a);
}
Could you please help me with this issue?