Function, Basic Computer Science

Function: The purpose of a function is to take in a number of values or arguments, do some calculations with those arguments and then return a single result.  Each language has different rules to define a function. In the C programming language the basic block for function is given as:  

return value function name (argument list) 

statement; 

}  

Functions can be called from the main program or from anywhere else, even from within itself. Program control will transfer to function definition statement as soon they are called and then return  back to next statement immediately after the calling point.  

Posted Date: 10/23/2012 3:59:33 AM | Location : United States







Related Discussions:- Function, Assignment Help, Ask Question on Function, Get Answer, Expert's Help, Function Discussions

Write discussion on Function
Your posts are moderated
Related Questions
Question 1 Explain Tropospheric Refraction Question 2 Write a note on DECT Question 3 Explain mobile integrated radio systems (MIRS) Question 4 What are ap


Number data types store numeric values. They are an immutable data type, which means that changing the value of a number data type results in a newly allocated object. Number objec


The microprocessor is at times referred to as the ''brain'' of the personal computer, and is responsible for the processing of the instructions which creates computer software. It

Frequency Division Multiplexing : FDM is an analog technique that is applied when he bandwidth of link is greater than the combined bandwidth of the signals to be transmitted. a

COMPONENTS OF A COMPUTER: We use a computing system basically to feed in some data that is processed by the computer and some information is generated as a result.. For this w

Microwave Transmission: Using space as transmission medium, microwave emanates from an origination point on earth, such as telephone exchange, where many individual messages h

An IP address consists of 4 contiguous octets and is generally written in Dotted Decimal Notation in the form: A.B.C.D Where: A represents the most significant octet, D the leas

A utonomous Rational Agents: In many cases, it is not accurate to talk about a particular program or a particular  robot, as the combination of and software and hardware in so