Commit 44ae1770 by matjul

Upload New File

parent 8358a328
Showing with 15 additions and 0 deletions
#include "stdio.h"
#include <string.h>
int main () {
char string1[40] = "this is a string";
char string2[] = "so is this";
int length = strlen(string1);
printf("%d", length);
strcat(string1, " ");
strcat(string1, string2);
printf("%s", string1);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment