#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 abstract class in oop?
What does and I oop and sksksk mean?
What is class and object in oops?
what is the sylabus for priliminaries?
What is super in oop?
#include
What are the data types in oop?
What is encapsulation example?
Can private class be inherited?
write a C++ program for booking using constructor and destructor.
What is difference between abstraction and encapsulation?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is overriding in oop?
How do you define a class in oop?
What does sksksk mean in text slang?