标签:png string har 描述 order char 知识点 eof compare
char a = ‘h‘;
memory |
h |
char a[] = "Hello";
memory | |||||
H | e | l | l | o | ‘\0‘ |
string sComparec = "Hello"
memory | ||||||
H | e | l | l | o | ‘\0‘ |
char *a = "Hello";
char* mag[] = {
"Love Stor",
"Harry",
"Potter"
};
L | o | v | e | S | t | o | r |
‘\0‘ |
|
H | a | r | r | y | ‘\0‘ | ||||
P | o | t | t | e | r | ‘\0‘ |
拓展知识点:
getchar();
EOF(文件描述符)
标签:png string har 描述 order char 知识点 eof compare
原文地址:http://www.cnblogs.com/TTWong/p/6849061.html