/* Concatenation of two strings */
#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
	char a[50],b[50];
	int n;
	clrscr();
	printf("enter the first string\n");
	scanf("%s",a);
	printf("enter the second string\n");
	scanf("%s",b);
	strcat(a,b);
		printf("Concatenation of two strings=%s",a);
	getch();
}
/*
	input :
	enter the first string
	nickolas
	enter the second string
	jegan
	output:
	Concatenation of two strings=nickolas jegan
*/


/* Exercise 1: To concatenate the left n char
		Hint: strncat(a,b,n)
	    2: Upper to Lower use string function
		Hint: strupr(a)
	    3. Lower to Upper use string function
		Hint: strlwr(a)
*/