M*m 发帖数: 141 | 1 char *a = "12";
int j = (int)a;
j is 134514482, what is going on here? how does c convert "12" to this
number? |
|
M*m 发帖数: 141 | 2 is 134514482 the address of a? |
|
P********e 发帖数: 2610 | 3 int j = atoi(a);
char *a = "12";
int j = (int)a;
j is 134514482, what is going on here? how does c convert "12" to this
number? |
|