Actions

EmSys

C - Arrays of Structures2

From EdWiki

Revision as of 09:30, 23 June 2015 by Jshankar (Talk | contribs) (1 revision imported: EdWiki -- Emsys pages from Shukra)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Arrays of Structures ...

struct Month {
    char* name;
    int days;
};
struct Month MonthTab[] = {
    { “January”, 31},
     	.
    { “December”, 31 }
};