//"const" + 类型名用于常量,
//类型名用于变量
//整数
int number = 42, otherNumber = 37;
const unsigned long maxInt64 = ULONG_MAX;
const int Mb = 1048576;
//双精度浮点数
const double exp = 2.71828;
double billion = 1E+9;
//单精度浮点数
const float pi = 3.14;
//字符串
const NSString *greeting = @"Hello";
//多行字符串
NSString *text = [NSString stringWithFormat:@"%@%@/",
@"this is some\n",
@"multiline text"];
//布尔值
const Boolean sunIsStar = true;
bool needBackUp = false;
BOOL isObjectivC = YES;
//字符 "A"
char charA = 'A'; //65, 0x41