#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


Please Help Members By Posting Answers For Below Questions

What is coupling in oops?

595


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1835


Can you inherit a private class?

631


What is abstraction with example?

606


What are two types of polymorphism?

611






What is static in oop?

587


Why do we use polymorphism in oops?

579


What are properties in oop?

609


What is object and class in oops?

588


What do you mean by abstraction?

613


What is oops and why we use oops?

571


What does oop mean in snapchat?

682


Why is oop useful?

602


Why oops is important?

610


Why is destructor used?

582