1.

#include <iostream>using namespace std;class LFC{ private: int x; public: void LFC(){x=0; printf("Object created.");} void LFC(int a){x=a;}};int main(){ LFC s; return 0;} 18.What will be the output of the following program?

A. 0
B. 10
C. 3
D. None of the above
Answer» C. 3


Discussion

No Comment Found

Related MCQs