What is a storage class?
No Answer is Posted For this Question
Be the First to Post Answer
What are Virtual Functions? How to implement virtual functions in "C" ?
What is the use of main function in c++?
What is c++ virtual inheritance?
What is optimization in c++? when using volatile.optimization is not possible..what does this mean?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
How do you test your code?
I need to find a specific string between two strings how do I do it?
what is a class? Explain with an example.
Why do we use pointers in c++?
What are the benefits of oop in c++?
What is the hardest coding language to learn?
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; }