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

I NEED FLOW CHART ANT DRAWINGS OF BASIC OPERATIONS OF COMPUTER

FUNDAMENTALS OF COMPUTERS 1. Describe the importance of video in multimedia. What are some of the tips to keep in mind while making video for the web? 2. Specify the steps t

Word Processing (WP): Word Processing is one of the most widespread application software types in use today. Developed as a successor to primitive text editors that were popul

Design and develop a program to calculate the sum of an integer number using MIPS assembly language.

The data stored in memory can be of a lot of types. In case, a person’s age is stored as a numeric value and his or her address is stored as alphanumeric characters. Python has som

Languages The language is a program containing rules and guidelines to help us in making programs. There are various languages like C, Basic, COBOL, PASCAL, FORTRAN etc. Th

what is the sql command to List all the join conditions or join paths (pairwise) existing between tables.

Using Weka 3.6 (basketball or cloud data set). Using the EM clustering method, how many clusters did the algorithm decide to make? If we change from "Use Training Set" to "Percenta

This web page looks at assembly languages in a common method. Specific illustrations of addressing modes and instructions from a variety of processors are used to demonstrate the g