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
15_recursion.c
00001 #include <stdio.h>
00002 
00003 int factorial(int i) 
00004 {
00005     if (i < 2)
00006         return i;
00007     else
00008         return i * factorial(i - 1);
00009 }
00010 
00011 int Count;
00012 
00013 for (Count = 1; Count <= 10; Count++)
00014     printf("%d\n", factorial(Count));
00015 
00016 void main() {}
 All Data Structures