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) 



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
TELECOMMUNICATION PROTOCOLS: The two major components relating to a WAN are the Protocol and the Media. The media are the actual path ways that the protocol travels on. The ne

Question 1 Explain Wireless Protocol Requirements and also explain in brief medium access control protocol Question 2 Explain FDMA and TDMA concepts Question 3 Exp

QUESTION (a) Give the representation of a queue as an abstract data type. (b) What is a priority queue? Give two types of priority queues. (c) The following program does

just the once the instruction has been fetched and is accumulated, the next step is to decode the instruction so as to work out what actions should be performed to execute it. This

Ask question #Minimum assignment on generations of computers 100 words accepted#

This is an article and I want great synopsis for the article

Nano programming using microcontrol and circuits

ARINC 429 DATA Bus SPECIFICATIONS: ARINC 429 sets specifications for the transfer of digital data between aircraft electronic system components and is a "One-way" communication

Question 1 Define virtualization. Discuss the benefits of virtualization. Discuss the benefits of server virtualization Question 2 What is para virtualization? How para vi