Char는 문자를 저장한다.
signed(=부호가 있는)
ascii 코드 참조.
1byte (-128~127)
Int는 정수를 저장한다.
signed
4bytes (1 sign bit, 31 value bit)
가장 작은 정수 = 1 followed by 31 zeros
가장 큰 정수 = 0 followed by 31 ones
float는 실수
4bytes
double
8bytes
signed/unsigned
signed가 디폴트값
char과 int에 적용가능 --> unsinged char, unsigned int
long
long int --> 8bytes가 됨
long long
short
short int--> 2bytes가 됨
[iOS] 뷰의 상태 변화 메서드 (0) | 2021.03.24 |
---|---|
다형성(Polymorphism), 오버라이딩(overriding), 오버로딩(overloading) 의 개념 (0) | 2021.01.12 |
La Piscine 2일차 - Git (0) | 2020.07.28 |
La piscine 1일차 - 쉘프로그래밍 (0) | 2020.07.27 |
데이터 파일을 mysql DB에 저장하기 (pymysql, LOAD DATA INFILE) (2) | 2020.07.01 |