Help me in solving STRR2 problem

My issue

My code

#include <stdio.h>

int main() {
  char x[30] = "Hello ";
  char y[] = "World!";
 
  // Concatenate str2 to str1 (the result is stored in str1)
  strcat(x, y);
  
  // Print str1
  printf("%s", x);
 
  return 0;
}

Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone

#include <stdio.h>
#include <string.h>

int main() {
char x[30] = "Hello ";
char y[30] = “World!”;

// Concatenate str2 to str1 (the result is stored in str1)
strcat(x, y);

// Print str1
printf(“%s”, x);

return 0;
}

Hello friend, you forgot to include the string.h header file.

Hope the above code helps you.