Explain the use of this pointer?
No Answer is Posted For this Question
Be the First to Post Answer
What are c++ stream classes?
what is upcasting in C++?
What is the size of pointer ? Also size of pointer in 64 bit pointer
What is the difference between c++ and turbo c++?
Check for Balanced Parentheses using Stack?
Out of fgets() and gets() which function is safe to use?
Explain pass by value and pass by reference.
How much maximum can you allocate in a single call to malloc()?
What is object in c++ example?
What are different types of typecasting supported by C++
If there are two catch statements, one for base and one for derived, which should come first?
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; }