#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
Advantage and disadvantage of routing in telecom sector
How long to learn object oriented programming?
What are the important components of cohesion?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What are the 4 main oop principles?
Can we create object of abstract class?
What is object in oops?
What is class and example?
What is the diamond problem in inheritance?
what are the ways in which a constructors can be called?
What is use of overloading?
How many human genes are polymorphic?
What is the difference between a mixin and inheritance?
What does no cap mean?
What is the full form of oops?