I am new to programming. If it's a dumb question please forgive me for wasting a thread. But I wanna know.
Why is this code not working?
int main() {
char sndex[6][8];
sndex[0]={"BFPV"};
sndex[1]={"CGJKQSXZ"};
sndex[2]={"DT"};
sndex[3]={"L"};
sndex[4]={"MN"};
sndex[5]={"R"};
The Compiler (MingW + DevCPP) is showing this:
In function "int main()"
expected primary-expression befor '{' token
expected ';' before '{' token
expected primary-expression before '{' toke
expected ';' before '{' token
The above-mentioned error is being repeated for all the six statements of the assignment.