• 코드:
​x
 
1
#include <stdio.h>
2
#define SUB(X,Y) X-Y
3
#define PRT(X) printf("계산 결과는 %d입니다.\n", X)
4
​
5
int main(void)
6
{
7
    int result;
8
    int num_01 = 15, num_02 = 7;
9
    
10
    result = SUB(num_01, num_02);
11
    PRT(result);
12
    return 0;
13
}
14
​
표준입력 & 실행옵션