Function Programming in C