97从哪来的?
虽然通过了,但没能明白97从哪来? #include
int main() { char c = 'a'; int n = 'a'; //将c赋值给n float f = 'a'; //将c赋值给f double d = 'a'; //将c赋值给d n=c; d=n; n=f; printf("%d\n",n); printf("%f\n",f); printf("%lf\n",d); return 0; }虽然通过了,但没能明白97从哪来? #include
int main() { char c = 'a'; int n = 'a'; //将c赋值给n float f = 'a'; //将c赋值给f double d = 'a'; //将c赋值给d n=c; d=n; n=f; printf("%d\n",n); printf("%f\n",f); printf("%lf\n",d); return 0; }2015-06-21
举报