#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
What is destructor in oop?
What is polymorphism in oops with example?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Why oops is important?
#include
What is the purpose of polymorphism?
What is solid in oops?
What is abstraction in oop?
Prepare me a program for the animation of train
What is overriding in oops?
what type of question are asked in thoughtworks pair programming round ?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is the importance of oop?
Explain the advantages of inheritance.
What is encapsulation in oop?