a****g 发帖数: 62 | 1 int main()
{
int a=1;
cout<
return 0;
}
Can you predict the output? And why? |
k****f 发帖数: 3794 | 2 又来月经贴。
jhq有说明的。基本上不可预测。看编译器自己高兴怎么做的
【在 a****g 的大作中提到】 : int main() : { : int a=1; : cout<: return 0; : } : Can you predict the output? And why?
|
D****g 发帖数: 2860 | 3 what's the point, anyway?
【在 a****g 的大作中提到】 : int main() : { : int a=1; : cout<: return 0; : } : Can you predict the output? And why?
|
a****g 发帖数: 62 | 4 Sorry, I didn't know it's 月经贴. I just came across this one when reading
books...
【在 k****f 的大作中提到】 : 又来月经贴。 : jhq有说明的。基本上不可预测。看编译器自己高兴怎么做的
|
S****t 发帖数: 1186 | 5 then it's time to trash the book you are reading
【在 a****g 的大作中提到】 : Sorry, I didn't know it's 月经贴. I just came across this one when reading : books...
|
n********r 发帖数: 65 | 6 why it's predictable,
I use gcc and the output is
1 2 3
【在 k****f 的大作中提到】 : 又来月经贴。 : jhq有说明的。基本上不可预测。看编译器自己高兴怎么做的
|
t****t 发帖数: 6806 | 7 please read 精华区.
【在 n********r 的大作中提到】 : why it's predictable, : I use gcc and the output is : 1 2 3
|
W*******o 发帖数: 301 | |