1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include<stdio.h>
#include<stdlib.h>    
 
typedef struct _Node
{
    int data;
    struct _Node* pNext;
}Node;
 
 
void main()
{
 
    Node* first = malloc(sizeof(first));
    first->data = 1;
    first->pNext = NULL;
 
    printf("%d", first->data);
 
    /////////////////////
    free(first);
    first = NULL;
 
 
 
    printf("hi");
 
    //확인을 위해 잠시 멈춤
    int hi = 0;
    scanf("%d", hi);
}
 
 
cs


문제의 16번줄이에요 ㅠㅠ

저걸 없애면 안 멈추고 1hi를 출력하는데

저걸 냅두면 출력이 1에서 멈추네요

대체 왜인지 전혀 모르겠어요... 가르침을 주실 분 계신가요