|
-
November 20th, 2012, 09:05 AM
#8
Re: Noob Q 2D array processing
 Originally Posted by naildirt
Code:
...
int main()
{
int count = 0 ;
char d[2][20] = { "hi" , "di" } ;
...
}
What type of data is this char d[2][20] supposed to contain?
Do you know that "c string" must be NULL-terminated?
Last edited by VictorN; November 21st, 2012 at 04:36 AM.
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|