C | String | Question 16
Output of following C program? Assume that all necessary header files are included
Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data Structures in C
course to start learning today.
*s1 = (
*s2 = (
(C) Geeks Quiz
Explanation: strcpy puts \0 at the end.
strcat starts from \0, concatenates string and puts \0 at the end.
Quiz of this Question