Login
Discover
Waves
Decks
Upgrade
Login
Signup
Topics
New
Trending
Hot
New
New
Trending
Hot
New
Controversial
Rising
Promoted
initialization
zaidazadkiel
programming
Wednesday, May 17, 2017 2:05 AM
C struct intialization warning about braces solution
In C when initializing a struct and one of the members is array or union, you have to put {}'s surrounding this element. otherwise you get a warning about braces. struct list { int type; union { int d;
$ 0.164
2
Top communities
Create decentralized community