Explain the different access specifiers for the class member in c++.
No Answer is Posted For this Question
Be the First to Post Answer
What is else if syntax?
What are protected members in c++?
Explain the difference between 'operator new' and the 'new' operator?
Define vptr.
Are iterators pointers?
When should I use unitbuf flag?
Who was the creator of c++?
Is string data type in c++?
What is #include math h in c++?
Out of fgets() and gets() which function is safe to use and why?
What do you mean by Stack unwinding?
this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }