Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- /////////////////////////
- enum Enu_month
- {
- JANUARY = 1,
- FEBRUARY,
- MARCH,
- };
- int nSumma;
- char months[14][17] = { " ",
- "January",
- "February",
- "March"
- };
- /////////////////////////////////////////////////////////////////
- int main()
- {
- printf("nSumma = %d\n", nSumma);
- nSumma = 17; printf("nSumma = %d\n", nSumma);
- Enu_month E1 = (Enu_month)2;
- // printf("%s\n", months[E1]);
- printf("c = %c\n", months[3][0]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement