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
19_pointer_arithmetic.c
00001 #include <stdio.h>
00002 
00003 int a;
00004 int *b;
00005 int *c;
00006 
00007 a = 42;
00008 b = &a;
00009 c = NULL;
00010 
00011 printf("%d\n", *b);
00012 
00013 if (b == NULL)
00014     printf("b is NULL\n");
00015 else
00016     printf("b is not NULL\n");
00017 
00018 if (c == NULL)
00019     printf("c is NULL\n");
00020 else
00021     printf("c is not NULL\n");
00022 
00023 
00024 void main() {}
 All Data Structures