Q. Output of the program?#include<iostream>using namespace std;int fun(int x = 0, int y = 0, int z){ return (x + y + z); }int main(){ cout << fun(10);return 0;} (Solved)
1. 10
2. 0
3. 20
4. Compiler Error
- d. Compiler Error
1. 10
2. 0
3. 20
4. Compiler Error