// concatenate string with strcat function
// Date 23:44 12/10/2016
// By Ben a.k.a DreamVB

#include <iostream>

using namespace std;
using std::cout;
using std::endl;

int main(int argc, char *argv[]){
	char s0[100], s1[100];
	int i = 0;

	cout << "Enter first string : ";
	cin >> s0;
	cout << "Enter second string : ";
	cin >> s1;

	//Join strings
	strcat(s0, s1);

	//Get length
	i = strlen(s0);
	//Print out length and the string.
	cout << endl;
	cout << "Total length of string is : " << i << endl;
	cout << "New string : " << s0 << endl;

	system("pause");
	return 0;
}