Wednesday, April 21, 2010

Why we use function in c

Function is much important when we have to do a long project. Let we have a math function (sum, sub,mul etc.) in our project we need the same calculation several times. if we have a function. We can do it by a single line (by calling the function). Otherwise we will have to rewrite the same code of calculation again. And function got arbitrarily long.
Above this reason we use function in C program and we don’t write all codes in main () function.

0 comments em “Why we use function in c”

Post a Comment

Give your valuable Comment...


Programming, Data Structures & Algorithms Copyright © 2011 -- Template created by JAK -- Powered by Blogger