Question from C faq in comp.lang.c
- From: "Shastri" <sas429s@xxxxxxxxx>
- Date: 1 Feb 2006 15:18:16 -0800
Hi all,
Can I get a clear idea of what designated initializers in the below
question mean??
Also is it applicable for structures too??
Can I initialize unions?
A: In the original ANSI C, only the first-named member; in C99,
using "designated initializers", yes, any member.
Thanks
Shastri
.
- Follow-Ups:
- Re: Question from C faq in comp.lang.c
- From: Mark McIntyre
- Re: Question from C faq in comp.lang.c
- Prev by Date: Re: reading date and time
- Next by Date: Re: Find the Data Type of Variable
- Previous by thread: reading date and time
- Next by thread: Re: Question from C faq in comp.lang.c
- Index(es):