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

about c language

1606


What are the types of unary operators?

662


Why & is used in c?

715


What is the difference between mpi and openmp?

736


What are the parts of c program?

636






What are global variables and how do you declare them?

621


What does 1f stand for?

614


Write a program to swap two numbers without using third variable in c?

618


Why is it important to memset a variable, immediately after allocating memory to it ?

1555


Explain the difference between ++u and u++?

640


What is register variable in c language?

606


Disadvantages of C language.

662


difference between native and cross compilers

1671


How can I convert a number to a string?

608


Why dont c comments nest?

622