

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program?_x005F_x000D_ #include        using namespace std;       void fun(int x, int y)       {           x = 20;           y = 10;       }       int main()       {           int x = 10;           fun(x, x);           cout << x;           return 0;       } |
A. | 10 |
B. | 20 |
C. | compile time error |
D. | none of these |
Answer» B. 20 | |