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
52_unnamed_enum.c
00001 #include <stdio.h>
00002 
00003 enum fred { a, b, c };
00004 
00005 printf("a=%d\n", a);
00006 printf("b=%d\n", b);
00007 printf("c=%d\n", c);
00008 
00009 enum fred d;
00010 
00011 typedef enum { e, f, g } h;
00012 typedef enum { i, j, k } m;
00013 
00014 printf("e=%d\n", e);
00015 printf("f=%d\n", f);
00016 printf("g=%d\n", g);
00017 
00018 printf("i=%d\n", i);
00019 printf("j=%d\n", j);
00020 printf("k=%d\n", k);
00021 
00022 void main()
00023 {
00024 }
 All Data Structures