Write a program in C++ to concatenate two strings into third
string using pointers
Answer Posted / irshad
#include<iostream.h>
#include<conio.h>
#include<string.h>
void main()
{
char str1[50],str2[50];
cout<<"\n enter first string \n";
cin>>str1;
cout<<"\n enter second string \n";
cin>>str2;
cout<<"\n the concatenated string is \n"<<str1<<str2;
getch();
}
| Is This Answer Correct ? | 28 Yes | 31 No |
Post New Answer View All Answers
Name the different types of stl containers.
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
what is template and type convertion
Define stl.
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
How stl is different from the c++ standard library?
What is a list in c++ stl?
What does stl mean in slang?
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
How connect plc and pc through software
Who created stl?
Can we use stl in coding interviews?
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
how to use C++?
How does an stl file work?