#include<stdio.h>
#include<conio.h>
#include<string.h>

void main()
{
char str1[20]="BCSProgram";
char str2[]="WXYZ";
char str3[20];
int a,b;

	a=strlen(str1);
	printf("\n Length of String = %d",a);

	strcpy(str3,str1);
	printf("\nAfter Copying,String str3= %s",str3);

	b=strcmp(str1,str2);
	printf("\n On Comparing str1 and str2, b= %d",b);

	b=strcmp(str3,str1);
	printf("\n On Comparing str3 and str1, b= %d",b);

	strcat(str1,str2);
	printf("\n On Concatination str1= %s",str1);

}