What is the action of strcat() function?*1 pointcompare two stringsconcatenate two stringsfind the length of the stringcopies one string to another
Question
What is the action of strcat() function?*1 pointcompare two stringsconcatenate two stringsfind the length of the stringcopies one string to another
Solution
The action of strcat() function is to concatenate two strings.
Similar Questions
Which of the following functions is used to concatenate two strings in C?strcat;strappend()strcat()strjoin()strmerge()
What is the first argument of the strcat() function in C programming?
Understanding strcat() functionWrite the correct output for the below C code?#include <stdio.h>#include <string.h>void main(void) { char str1[] = "Godavari"; char str2[20]; char str3[] = "River"; int i; i = strcmp(strcat(str3, strcpy(str2, str1)), "RiverGodavari"); printf("%d\n", i);}Output:
Which of the library function put back the length of a string?a.strlenb.strcatc.strcmpd.strcpy
What is string concatenation in C programming?
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.