Cognizant interview question

Basic C program questions..like fibonacci series etc