Saturday, 12 February 2011

Function definition in c programming




Definition





Function is block or part of
program. When any program is very long or same code is repeating many times
then we try to cut the program in different parts (or blocks) so that whole
program became more understandable, easier to debug (error checking) and size
of code will be lesser.



Syntax of function in c
programming











Example of simple function





#include<

No comments:

Post a Comment