[C++] C의 자료형
C++을 공부하기 위해서 먼저 C언어에서의 자료형에 대해서 확인해 보았다. 바이트(byte) : 컴퓨터에서 처리하는 가장 작은 단위 (1byte -> 8bit) 자료형 키워드 메모리 크기 값의 범위 문자형 char 1 Bytes -128~127 정수형 short 2 Bytes -32,768~32,767 int 4 Bytes -2,147,483,648 ~ 2,147,438,647 long 4 Bytes -2,147,483,648 ~2.147.483.647 부호없는 문자형 unsigned char 1 Bytes 0~255 부호없는 정수형 unsigned short 2 Bytes 0~65,535 unsigned int 4 Bytes 0~4,294,967,295 unsigned long 4 Bytes 0~4,2..