• 2022-06-10
    写出下列程序的执行结果是:__________________。#include<;iostream>;using namespace std;int f2( int, int );int f1( int a , int b ){ int c ; a += a ; b += b ; c = f2( a+b , b+1 ); return c;}int f2( int a , int b ){ int c ; c = b % 2 ; return a + c;}void main(){ int a = 3 , b = 4; cout <;<; f1( a , b ) <;<; endl;}
  • 举一反三