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
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
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
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;
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!