What would be the output of the given program? #include <iostream> using…
NVS TGT/PGT 2019
What would be the output of the given program? #include <iostream> using namespace std; void fun1(int x) { cout << x << endl; } int main() { //function calling fun1(10,20); return 0; }
- A.
10
- B.
Compile time error
- C.
10, 20
- D.
Run time error
Attempted by 404 students.
Sign up free to check your answer
Sign up freeLoading lesson…

