I use CodeBlocks for Windows as my IDE. In this program, I am trying to copy two different strings (string[8][0] with string[9][0]), and I can't, even though they have the exact same length. I don't understand why the program isn't working because, when I used two different strings with the same length in an exercise the program, worked.
#include <stdio.h>
#include <string.h>
int main()
{
char* string[10][10];
int i;
string[8][0] = "ooo";
string[9][0] = "uuu";
puts(string[8][0]);
puts(string[9][0]);
printf("%d %d", strlen(string[8][0]), strlen(string[9][0]));//This line is just to make sure that both strings have the same lenght
strcpy(string[8][0], string[9][0]);//I want to copy the content of the string "string[9][0]" to the string "string[8][0]" and replace what was on that string
puts(string[8][0]);
puts(string[9][0]);
return 0;
}