Write a program to concatenate two strings.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

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; }

1 Answers  


Define 'std'.

0 Answers  


Who invented turbo c++?

0 Answers  


What is a vector c++?

0 Answers  


How do you compile the source code with your compiler?

0 Answers  






What are pointer-to-members in C++? Give their syntax.

0 Answers   HAL,


What is difference between c++ and c ++ 14?

0 Answers  


Why do we need templates?

0 Answers  


What is the difference between global int and static int declaration?

0 Answers  


what is smart pointer & use of the smart pointer ???

2 Answers  


What is math h in c++?

0 Answers  


What are put and get pointers?

0 Answers  


Categories