0
는 다음 코드분할 고장 난 C에 새로운 오전 및
#include <stdlib.h>
#include<stdio.h>
typedef struct
{
int name1;
}check1;
typedef struct
{
int name2;
}check2;
int main()
{
check1 *test1;
check2 *test2;
test1->name1=1;
test2->name2=2;
return 0;
}
을 썼다 : -
Program received signal SIGSEGV, Segmentation fault.
0x000000000040045e in main()
어떤 이유 일 수 있습니까 ???
감사합니다.