What is a local variable?
No Answer is Posted For this Question
Be the First to Post Answer
I need to find a specific string between two strings how do I do it?
What is the syntax for a for loop?
Explain this pointer?
What is a namespace in c++?
What is a virtual destructor? Explain the use of it?
Do class declarations end with a semicolon? Do class method definitions?
How many storage classes are available in C++?
What are the techniques you use for debugging?
When should you use multiple inheritance?
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; }
Does c++ have foreach?
write a program to insert an element into an array