#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 coupling in oops?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Can you inherit a private class?
What is abstraction with example?
What are two types of polymorphism?
What is static in oop?
Why do we use polymorphism in oops?
What are properties in oop?
What is object and class in oops?
What do you mean by abstraction?
What is oops and why we use oops?
What does oop mean in snapchat?
Why is oop useful?
Why oops is important?
Why is destructor used?