Initialization of member inside structure
Posted
by Santhosh
on Stack Overflow
See other posts from Stack Overflow
or by Santhosh
Published on 2008-10-22T10:01:26Z
Indexed on
2010/05/06
14:38 UTC
Read the original article
Hit count: 150
Filed under:
c
Why can't we initialize members inside the structure ?
example:
struct s {
int i=10;
};
Thanks in advance
© Stack Overflow or respective owner