Q. Predict the output of following C++ program#include<iostream> using namespace std;class Empty {}; int main(){cout <<sizeof(Empty); return 0;} (Solved)
1. a non zero value
2. 0
3. compile time error
4. runtime error
- a. a non zero value
1. a non zero value
2. 0
3. compile time error
4. runtime error