main.c: In function main: main.c:7:12: warning: passing argument 1 of strcat makes pointer from integer without a cast [-Wint-conversion] 7 | strcat(x, y); | ^ | | | int In file included from main.c:2: /usr/inc
Example: C strcat() function #include <stdio.h> #include <string.h> int main() { char str1[100] = "This is ", str2[] = "programiz.com"; // concatenates str1 and str2 // the resultant string is stored in str1. strcat(str1, str2); puts(str1); puts(str2); return 0; ...