본문 바로가기

개발자 모드/C언어

C언어 문자 출력하기 기초

728x90
#include <stdio.h>

int main(void)
{

    // 문자(한 글자), 문자열 (한 글자 이상의 여러글자)
	int c = 'A';
	printf("%c\n", c);
   return 0;

}

 

 

결과

728x90