【发布时间】:2013-03-28 23:18:46
【问题描述】:
#include<stdio.h>
int main()
{
char s[]="chomsky the great";
printf("try0 %s\n",s+s[3]-s[9]);
printf("try1 %s\n",s+s[3]-s[1]);
return 0;
}
gcc 编译器中的o/p 是
try0 ky the great try1 ky the great
我无法跟踪程序在此处实际执行的操作,或者更确切地说,编译器是如何工作的。
【问题讨论】:
-
你不明白什么?