Here is a code:
#include<stdio.h>
#include<string.h>
int main(void)
{
char *s1="hello";
char *s2="world";
char *s3;
s3=strcat(s1,s2);
printf("%s",s3);
}
What does strcat returns? Why does this code results in run time error?
And one more question : Are "hello" and "world" terminated with '\0' in case of char pointers? Please describe a bit.