prime numbers are real numbers greater than 1, the divider factor is the number 1 and it self. 2 and 3 are prime numbers. 4 is not prime because 4 can be divided by 2. Ten of the first prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29. If a number greater than one are not prime numbers, the numbers are called composite numbers.
Language C strongly supports modular programming Since the initial C language program is divided into modules (some) Modules in C language functions known as (function)
Language C consists of functions, either directly declared in the program or are separated in the header file. Functions that are always there in the C program is main function.
Function / function is a collection of instructions / orders / programs grouped into one, located
separate from the program using these functions, have given a unique name, and used to do an objective certain. Functions - functions make the program has a clear structure. By separating step - step detail to one or more functions - functions, the main function (main) will be shorter, clear and easily understood. The functions are used to avoid writing The same program written repeatedly - again. Step - the step can be written only once separately in the form of the function. Next section programs that require step - this step is not should always write it down, not enough to call the function it. The argument can be there or not (optional) which used to accept arguments / parameters. Between the arguments are separated by use a comma.
function prototype is accompanied by a code implementation of the function, which contains statements / instructions that will perform duties in accordance with the objectives made functions.
Language C consists of functions, either directly declared in the program or are separated in the header file. Functions that are always there in the C program is main function.
Function / function is a collection of instructions / orders / programs grouped into one, located
separate from the program using these functions, have given a unique name, and used to do an objective certain. Functions - functions make the program has a clear structure. By separating step - step detail to one or more functions - functions, the main function (main) will be shorter, clear and easily understood. The functions are used to avoid writing The same program written repeatedly - again. Step - the step can be written only once separately in the form of the function. Next section programs that require step - this step is not should always write it down, not enough to call the function it. The argument can be there or not (optional) which used to accept arguments / parameters. Between the arguments are separated by use a comma.
function prototype is accompanied by a code implementation of the function, which contains statements / instructions that will perform duties in accordance with the objectives made functions.
Tidak ada komentar:
Posting Komentar