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
Is there any error below, its a code to delete all entires from a map #include
Is stl open source?
Define stl.
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
sir please send me bpcl previous question papers
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
Can we use stl in coding interviews?
What two types of containers does the stl provide?
What do stl stand for?
What is stl stack?
What are the different types of stl containers?
What are stl algorithms?
How do you convert stl to steps?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
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