1.

Predict the output of following C++ program.#includeusing namespace std;class Empty {};int main() {cout << sizeof(Empty);return 0;}

A. A non-zero value
B. 0
C. Compiler Error
D. Runtime Error
Answer» B. 0


Discussion

No Comment Found