Xv6 with picoc & Linkage editor  v1.0
The project delineate mutual cohesion between c library, linkage editor ( linker), interpreter and operating system by porting the same on xv6 kernel
 All Data Structures
17_enum.c
00001 #include <stdio.h>
00002 
00003 enum fred
00004 {
00005     a,
00006     b,
00007     c,
00008     d,
00009     e = 54,
00010     f = 73,
00011     g,
00012     h
00013 };
00014 
00015 enum fred frod;
00016 
00017 printf("%d %d %d %d %d %d %d %d\n", a, b, c, d, e, f, g, h);
00018 printf("%d\n", frod);
00019 frod = 12;
00020 printf("%d\n", frod);
00021 frod = e;
00022 printf("%d\n", frod);
00023 
00024 void main() {}
 All Data Structures