Program concatenate two string

Prev Tutorial Next Tutorial

Program to concatenate two string

Combined two string means add both string with each other, we can perform this operation using library function or without library function. For example if first string is john and second string is porter then after combined these string output is johnporter.

program combined two string


void main()
char *ch1="john ";
char *ch2="porter";
char *ptr;
printf("\n\n1 st String: %s",ch1);
printf("\n\n2 nd String: %s",ch2);
printf("\n\nString is: %s",ch1);


1 st String: john
2 nd String: porter
String is: johnporter

Prev Tutorial Next Tutorial

Yahoo Advertisements

Buy 3 Year Old Domain,, @$200

Buy This Ad Space @$50 per Month, Ad Size 600X200 Contact on:

Download Projects

Adsense Advertisements
Free Classified Site – Bedpage

Yahoo Ads Advertisements