R
Q. Predict the output of following C++ program.
#include<iostream>
using namespace std;
class Empty {};
int main() {
cout << sizeof(Empty);
return 0;
}
- Correct Answer - Option(A)
- Views: 72
- Filed under category C++
Discusssion
Login to discuss.