define function

Answer Posted / desh deepak

A Function is a self-contained block of statement that
perform a Coherent task of some kind. c program is
collection of function.

generel form of function.

function(arg1,arg2,arg3)
type arg1,arg2,arg3;
{
statement1;
statement2;
statement3;
statement4;
}

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we have joblib in a proc ?

1976


What are the Advantages of using macro

925


what is stack , heap ,code segment,and data segment

2466


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1717


Explain can you assign a different address to an array tag?

877


c program to compute AREA under integral

2113


Explain how do you search data in a data file using random access method?

927


How can I remove the trailing spaces from a string?

856


How to Throw some light on the splay trees?

837


What is typedef struct in c?

823


Is it better to use a macro or a function?

933


How can I swap two values without using a temporary?

869


What does emoji p mean?

820


What is structure padding and packing in c?

839


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

2555