This is throwing a runtime error
Code:#include<studio.h> #include<string.h> int main() { const char *x="hello"; char *s=" world"; strcat(s,x); return 0; }
This is throwing a runtime error
Code:#include<studio.h> #include<string.h> int main() { const char *x="hello"; char *s=" world"; strcat(s,x); return 0; }