Hello. I study C.
How to create array of strings in C?
Let's say that I intend to have three strings:
I know how to make one string:Code:t[0]='string number one content' t[1]='string number two content' t[3]='string number three content'
which defines a string of length 30 (from 0 to 29). Now should I create an array of arrays?Code:char u[30];
I have found this, but I do not understand it:
How do I create an array of strings in C? - Stack Overflow
Thank you.