Wipro interview question

How to declare functions in c What is an algorithm