Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > array declarati...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 26066 of 26198
Post > Topic >>

array declaration

by new <luvraghu@[EMAIL PROTECTED] > May 5, 2008 at 12:25 AM

struct abc
{
int x;
char y;
};

struct xyz
{
struct abc p[0];  //LINE 1
int q;
};

int a[0];    //LINE 2

Are the declarations in line 1 and line 2 correct?

Please help.

Thank you.




 2 Posts in Topic:
array declaration
new <luvraghu@[EMAIL P  2008-05-05 00:25:39 
Re: array declaration
Keith Thompson <kst-u@  2008-05-05 01:27:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 0:42:39 CDT 2008.