468,290 Members | 1,983 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,290 developers. It's quick & easy.

Declaration of a node of a link list

Hi All,

In the following declaration of a node, do we need the second
`struct':

typedef struct Node {
struct Elem* next;
int data;
} Node;

Thanks in advance,
Greg

Sep 4 '07 #1
1 1269
"greg" <gr************@gmail.comwrote in message
news:11**********************@o80g2000hse.googlegr oups.com...
Hi All,
In the following declaration of a node, do we need the second
`struct':
typedef struct Node {
[...]
} Node;
not in C++.

Sep 4 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Shawn Windle | last post: by
8 posts views Thread by Chinmoy Mukherjee | last post: by
11 posts views Thread by Neo | last post: by
1 post views Thread by sri2097 | last post: by
4 posts views Thread by plmanikandan | last post: by
4 posts views Thread by bitshadow | last post: by
1 post views Thread by ahoway | last post: by
4 posts views Thread by mendiratta | last post: by
9 posts views Thread by ratika | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.