C
Programming and Technical
Write a program to concatenate two strings.
Read Solution (Total 1)
-
- #include
#include
void main()
{
char name[]="Reena";
char rel[]="Friend";
strcat(rel,name);
printf("concatenated string=%s",rel);
getch();
}
output:
concatenated string=FriendReena
- 11 years agoHelpfull: Yes(0) No(0)
C Other Question