Question: What do the following program segments print? ( There are no syntax errors in these program segments. ) ( a ) int x ( 0

What do the following program segments print? (There are no syntax errors in these program segments.)(a) int x(0};if (x =0)Fxcout << x;3(b) void fun(int x, int *y, int &ez){2=2+2*z**yint main(){int a f13, b{23, c(4};fun(a, &b, c);cout < a << endl;cout << b << endl;cout << c << endl;Q Search Giveme short answer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!