How to concatenate two strings in c

htt‮p‬s://www.lautturi.com
How to concatenate two strings in c

you can use the function strcat to concat strings

#include <stdio.h>

int main() {
	char str[80];
	strcpy(str, "hello ");
	strcat(str, "world. ");
	printf("%s",str);
  	return 0;
}
Created Time:2017-08-28 15:01:57  Author:lautturi