- ACANADA = 7
- BCANADA = 9
- CCANADA = 3
- DCANADA = 5
In enum, the value of constant is defined to the recent assignment from left.
CANADA = 9
Output:
C programming Presented by %s Atnyla
Output:
Atnyla
Compilation Error
'/n'
$ cc pgm1.c $ a.out PEACH = 5
$ cc pgm2.c $ a.out C programming Class by %s atnyla
$ cc pgm5.c $ a.out 8
$ cc pgm6.c $ a.out 5