#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;
}
What does and I oop mean?
Can private class be inherited?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
Is html an oop?
program for insertion ,deletion,sorting in double link list
Program to print 0 to 9 in cross order
Describe the difference between a Thread and a Process?
Why do we use class in oops?
OOP'S advantages of inheritance include:
What is the use of fflush(stdin) in c++?
What is class and object with example?
What is a class and object?