728x90
#include <stdio.h>
int main(void)
{
int a = 10;
printf("a는 %d\n", a);
a++;
printf("a는 %d\n", a);
a++;
printf("a는 %d\n", a);
int b = 20;
printf(" b는 %d\n", ++b);
printf(" b는 %d\n", b++);
printf(" b는 %d\n", b);
return 0;
}
결과...
728x90
'개발자 모드 > C언어' 카테고리의 다른 글
C언어 do while 반복문 (0) | 2021.09.13 |
---|---|
C언어 while 조건문 (0) | 2021.09.13 |
C언어 Scanf 문자열 입출력... (0) | 2021.09.13 |
C언어 for 반복문 기초 (0) | 2021.09.12 |
C언어 함수의 종류 (0) | 2021.09.12 |