Create  C program for generic root