Q125
What will be the output of the following C++ code? #include using namespace std; int fun(int x = 0, int y = 0, int z) return (x + y + z); int main() cout << fun(10); return 0;
A.
10
B.
0
C.
Error
AnswerD.
Segmentation fault
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board