经典指数          
原因
621
浏览数
0
收藏数
 

下面程序一共会在屏幕上输出多少个“-” ? 1 #include #include #include #include using namespace std; int main( ) {     int i;     for(i = 0; i < 2; i++)     {         cout<<"-\n";         fork( );         cout <<"-\n";     }     cout << endl;     return 1; }

     举报   纠错  
 
切换
暂时还没有答案,欢迎分享你的解答 . . .
撰写答案
扫描后移动端查看本题