MCQOPTIONS
Saved Bookmarks
| 1. |
Which among the following is correct for the code given below? class A { private : A() { } public : A(int x) { } }; A a; A b(100); |
| A. | Program will give compile time error |
| B. | Program will run fine |
| C. | Program will give runtime error |
| D. | Program will give logical error |
| Answer» B. Program will run fine | |