for example
#include #include #include char substr[10][20]; int main() { substr[0] = \"abc\"; pr
You can't assign strings like that in C. Instead, use strcpy(substr[0], "abc"). Also, use %s not %d in your printf
strcpy(substr[0], "abc")
%s
%d
printf