Hello world this is my first post. I thought I would try to learn c programming and I stumbled onto this
>>>Why don't something like this work what am I doing wrong?<<<
Code:#include<stdio.h> main() { // initialize my multidimensional char array char names[100][21]; names[0] = "raymond"; printf("%s\n",names[0]); getchar(); }
How do I do something like that I am new to this thanks for your help?
i dont want to do this
char names[][21] = {{"raymond"}};
all I want to do is this names[0] = "raymond";
how come I can't do that thanks for your time and help bye!