#include <iostream>
using namespace std;
struct wow {
int x;
};
int main() {
wow a;
a.x = 22;
int c = a.x;
int *b = new int;
cout << c;
return 0;
}
option:
No output
0
22
-(11)
Will not compile

Answer Posted / tiger

22

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Advantage and disadvantage of routing in telecom sector

782


How long to learn object oriented programming?

559


What are the important components of cohesion?

550


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4234


What are the 4 main oop principles?

675






Can we create object of abstract class?

575


What is object in oops?

608


What is class and example?

565


What is the diamond problem in inheritance?

574


what are the ways in which a constructors can be called?

1575


What is use of overloading?

602


How many human genes are polymorphic?

568


What is the difference between a mixin and inheritance?

517


What does no cap mean?

590


What is the full form of oops?

605