大家帮个忙好吗 英文的C语言题目 !小弟英文不行谢谢啦!
											What is the value of the variables i and j after the for loop completes.
int i = 9;
int &j = i;
For (j = 0; j < 10; j++) ;
这个怎么做啊!
What is the value of the variables i and j after the for loop completes.
int i = 9;
int &j = i;
For (j = 0; j < 10; j++) ;
这个怎么做啊!
 2006-10-10 11:48
	    2006-10-10 11:48
   2006-10-10 11:52
	    2006-10-10 11:52
   2006-10-10 12:04
	    2006-10-10 12:04
   
[此贴子已经被作者于2006-10-10 12:13:03编辑过]

 2006-10-10 12:06
	    2006-10-10 12:06
   2006-10-10 12:07
	    2006-10-10 12:07
   //这里的for 要大写的吗???
    //这里的for 要大写的吗???
#include <stdio.h>
main()
{
int i=9;
int &j=i;
for (j = 0; j < 10; j++) ;
printf("%d",i);
getch();
}
可是为什么编译没通过呢?

 2006-10-10 20:18
	    2006-10-10 20:18
  
 2006-10-10 20:21
	    2006-10-10 20:21
   2006-10-10 20:21
	    2006-10-10 20:21
   2006-10-10 20:24
	    2006-10-10 20:24
  What is the value of the variables i and j after the for loop completes.
int i = 9;
int &j = i;
For (j = 0; j < 10; j++) ;
这个怎么做啊!
哈哈
这段英文我还是看懂了
这个倒引出了个问题
#include <stdio.h>
main()
{
int i=3;
int j=&i;
for (j = 0; j < 10; j++) ;
printf("%d,%d",i,j);
getch();
}
怎么是 3,10
先去自我研究一下去
[此贴子已经被作者于2006-10-10 20:32:23编辑过]
 2006-10-10 20:31
	    2006-10-10 20:31