Given the following function definition: int fun (int &x) { for (int i=1; x<30; i++) x += pow(2, 1); return x/2; 1 What
Posted: Sun May 15, 2022 1:26 pm
Given the following function definition: int fun (int &x) { for (int i=1; x<30; i++) x += pow(2, 1); return x/2; 1 What is the exact output of the following code segment? int b=3; int a=fun(b); Icout<<a<<" "<<b;