#include <iostream>
using namespace std;
struct wow {
int x;
};
int main() {
wow a;
wow *b;
a.x = 22;
b = &a;
a.x = 23;
cout << b->x;
return 0;
}
Answer Posted / tiger
23
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is purpose of inheritance?
What is the difference between static polymorphism and dynamic polymorphism?
What is static modifier?
What is oops in simple words?
what is the sylabus for priliminaries?
Prepare me a program for the animation of train
what's the basic's in dot net
How do you define a class in oop?
How do you define social class?
What is the real life example of polymorphism?
How can you overcome the diamond problem in inheritance?
What are the advantages of polymorphism?
What is stream in oop?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is encapsulation in oops?