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
42_function_pointer.c
00001 #include <stdio.h>
00002 
00003 int fred(int p)
00004 {
00005     printf("yo %d\n", p);
00006     return 42;
00007 }
00008 
00009 int (*f)(int) = &fred;
00010 
00011 int main()
00012 {
00013     printf("%d\n", (*f)(24));
00014     return 0;
00015 }
 All Data Structures