79764305

Date: 2025-09-14 12:20:09
Score: 1.5
Natty:
Report link

Your struct does not contain 2 arrays of strings but 2 arrays of chars, so basically two strings. If you want a string array, you need to create a char[n][MAX], where n is the ammount of strings and MAX the length of each string. Pointing to the Nth title would look like this:
char* title = books->title[n];

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Joelbu