Saturday, December 9, 2017

What is the function of c language progarming


Define a function the purposes  of the  c programing language ; a function may be termed as that set of statement that performing tasks as one and depend statement will find a function in every c program, even you just a single one.

            A function  is named independent section of c code that performs a specific task and optionally returns a value the calling program.
                   A function named each function has a unique name by using that another part of the program can statement contain the function.

For example:-
   # include <stdio.h>

Int main()


Int, x,y,z;

Printf (" Enter the second  number :");
Scanf ("#d", & a);

Printf (" Enter the third number :");
Scanf ("#d", & a);

Printf (" sum of #d, #d  & # d is # d", x,y,z, x+y+z);


Run this program add some of automatically. That is a sperate that block is called a function.

Here the main function sturctureally looks like :-

Int=// if successful, expect to return & zero code.

Main()= // this is the place for the name , which  in this regard, is main.

{}= // This is the place for numerous codes; being the function body.

            Basic function of c progarme
Add caption


Please comment and follow this site blog inbox