6
What will be the output of the program?
#include <iostream>
using namespace std;
class S {
public:
int a;
S() : a(0) {}
};
int main() {
S arr[3];
cout << arr[0].a + arr[2].a << endl;
return 0;
}DiscussEasy