下列程序的输出结果是______。#includeusing namespace std;int main(){int i=5;int &r=i;r=7;cout<
查看答案
C++程序必须有且只有一个主函数,其函数名为____________。
写出下列程序的执行结果是:__________________。#includeusing namespace std;int age( int n ){ int f; if( n == 1 ) f = 10 ; else f = age( n-1 ) + 2; return f ;}void main(){ cout<<"age:"<
写出下列程序的执行结果是:__________________。#includeusing namespace std;void sort( double x,double y );void sort( double x,double y,double z );void main(){ sort( 0.5, 30.8, 5.9 );}void sort( double x,double y,double z ){ double t; if( y
写出下列程序的执行结果是:__________________。#includeusing namespace std;void f ( int&n );void main(){ int a = 1 ; f( a );}void f ( int& n ){ cout<