Please explain the output of below program....
int main()
{
unsigned int i=0,j=0;
char c = 'J';
i = (unsigned int) c;
i|=(unsigned int) (c+1)<<8;
i|= (unsigned int) (c+2) <<16;
i|= (unsigned int) (c+3) <<24;
printf("\n%s",&i);
}
上述程序的输出显示为JKLM请解释原因?请说出为什么下面的程序的输出是JKLM?而不是MLKJ?
如果H2CO3表示它(除了不投射malloc的),你应该听。 – xaxxon
@xaxxon我相信你会喜欢我的个人简介中的生物,去看看:P – 2013-09-21 06:50:24
是的,我实际上是在几个星期前检查出来,并注意到。 – xaxxon