Concatenate two string in C++


Frequency of Character in C++ Copy String in C++

C++ program to concatenate two string

Combined two string or Concatenate 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 will be johnporter.

C++ program to concatenate two strings


void main()
char *ch1="john";
char *ch2="porter";
char *ptr;
cout<<"1 st String: "<<ch1;
cout<<"\n 2 nd String: "<<ch2;
cout<<"\nCombined string is: "<<ch1;


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

Frequency of Character in C++ Copy String in C++


Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: or 9999595223

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements

Buy Websites 9999595223
wifi cctv camera

Wifi CCTV Camera RS:1200 to 2499. Contact no. 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: or 9999595223 Try this Keyword C++ Programs