Question: What is the output of the following program: #include #include using namespace std; int fun(int = 0, int = 0); int main() { cout
What is the output of the following program: #include #include using namespace std; int fun(int = 0, int = 0); int main() { cout < < fun(sqrt(16)); return 0; } int fun(int x, int y) { return (x + y); Select one: a. 0 b. 4 c. 20 d. error
Step by Step Solution
There are 3 Steps involved in it
The code shown in the image is a C program that intends to print the output of a function call funsq... View full answer
Get step-by-step solutions from verified subject matter experts
