When declaring an enum as shown below, do all C compilers set the default values as x=0, y=1, and z=2 on both Linux and Windows system
x=0
y=1
z=2
Yes,enum value bydefult start from 0 to n'th element to any platform.