请写出程序的运行结果。includeusing namespace std;int f____ {int c;if ____ c = l;elseif ____ c = 0;elsec = -1;return ____;}void main____ {int i = 2, j = 3;int p = f____;cout << p << endl;}
查看答案
请写出程序的输出结果。#include < iostream> using namespace std;void f2____{int z = x; x = y; y = z;}void main____{int x = 10, y = 26;cout << "x, y=" << x << "," << y << endl;f2____;cout << "x, y=" << x << "," << y << endl; x++; y--;f2____;cout << "x, y=" << x << "," << y << endl;}
阅读下列程序,并写出输出结果。#includeusing namespace std;int min____{return a
写出下面程序执行后的运行结果。 #include< iostream> using namespace std;#define N 1 #define MN+ 2 #define NUM 3*M+1 void main____ { int i; for ____cout<
写出下面程序执行后的运行结果。 #include< iostream> using namespace std;# include #define ROUND____ ____ ____*pow ____ + 0. 5) /pow ____)void main____ cout<