2. What will be the output of each of the following program when it is executed? (a)
#include using namespace std; union abc
{
abc() {
cout <>
}
};
int main()
(b)
abc obj; return 0;
#include using namespace std; struct abc
(c)
~abc() {
(d)
(e)
virtual ~abc() {
(f)
virtual abc() {
(g)
#include using namespace std; struct abc {
abc();
abc :: abc()
struct sample {
sample() {
sample();
abc::sample :: sample()
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here