So I\'m trying to figure this out with a simple program:
#include #include #include int main() { char a[]=
To store entire string use string copy.
char a[]="lalala"; char c[]="nanana"; char d[3][10]; strcpy(d[0],a); strcpy(d[1],b); strcpy(d[2],c); printf("%s -- %s -- %s", d[0], d[1], d[2]);