Which operations are permitted on pointers?
No Answer is Posted For this Question
Be the First to Post Answer
When we use Abstract Class and when we use Interface?where we will implement in real time?
Out of fgets() and gets() which function is safe to use and why?
Explain the difference between abstract class and interface in c++?
What can I safely assume about the initial values of variables which are not explicitly initialized?
What is the difference between the parameter to a template and the parameter to a function?
If I is an integer variable, which is faster ++i or i++?
Define copy constructor.
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is the use of endl in c++ give an example?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
Is string data type in c++?
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; }