none
想问看以下代码我解的正确吗 RRS feed

  • 问题

  • 由于找不到适合的网站测试代码在线请求大大指点

    int array[10]; for(int x=1; x<=10; x++) printf(" %d\n ", array[x]);

    output

    x 的 output 将会是 0,1,2,3,4,5,6,7,8,9

    Record = 0;
    while (record < 100)
    {
    	printf( "\nRecord %d ", record );
    	printf( "\nGetting next number…" );
    }
    

    output

    "\nRecord %d " 0,1,2,3,4,5,6,7,8,9,10 至99

    "\nGetting next number…"

    for (x = 0; x < 10; x++)
    {
    	for (y = 5; y > 0; y--)
    	{
    		printf("A");
    	}
    }

    x output 0,1,2,3,4,5,6,7,8,9

    Y 没有output 因为没有A的data

    请求各位大大指点 感恩

    谢谢



    2022年4月10日 15:06