CONCATENATE TWO STRINGS

Description:

Write a c++ program for Concatenate Two Strings without using strcat() function Test Case 1 Input (stdin) Kaveri river Expected Output Kaveririver Test Case 2 Input (stdin) Hello World Expected Output HelloWorld

Program :

#include <iostream>
using namespace std;
int main()
{
   char a[10],b[10];
  cin>>a>>b;
  cout<<a<<b;
 return 0;
}