Answer Posted / jayasrinivas.donavalli
class swap
{
public:
int a,b;
void swapp()
{
a = a + b;
b = a - b;
a = a - b;
}
};
class swap s1.
s1.swapp();
cout<<a<<b;
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is the main feature of oop?
write a program to find 2^n+1 ?
can we make game by using c
What is inheritance in oop?
What is the fundamental idea of oop?
What makes a language oop?
Can we create object of interface?
How to improve object oriented design skills?
What is the point of oop?
Which language is pure oop?
Why is oop useful?
write a C++ program for booking using constructor and destructor.
What is the oops and benefits of oops programming?
How do you achieve runtime polymorphism?
Can static class have constructor?