STEPS FOR CREATING A C PROGRAM
#STEPS_FOR_CREATING_A_PROGRAM
#CREATION_OF_A_PROGRAM
Programs should be written in C editor. The file name does not necessarily include extension
C. The default extension is C.
#WHAT_IS_A_COMPUTER_PROGRAM?
A Computer program is just a collection of the instructions necessary to solve a
specific problem. The basic operations of a computer system form what is known
as the computer’s instruction set. And the approach or method that is used to solve
the problem is known as an algorithm.
#COMPILATION_OF_A_PROGRAM
The source program statements should be translated into object programs which is suitable
for execution by the computer. The translation is done after correcting each statement. If
there is no error, compilation proceeds and translated program are stored in another file
with the same file name with extension “.obj”.
#CREATION_OF_A_PROGRAM
Programs should be written in C editor. The file name does not necessarily include extension
C. The default extension is C.
#WHAT_IS_A_COMPUTER_PROGRAM?
A Computer program is just a collection of the instructions necessary to solve a
specific problem. The basic operations of a computer system form what is known
as the computer’s instruction set. And the approach or method that is used to solve
the problem is known as an algorithm.
#COMPILATION_OF_A_PROGRAM
The source program statements should be translated into object programs which is suitable
for execution by the computer. The translation is done after correcting each statement. If
there is no error, compilation proceeds and translated program are stored in another file
with the same file name with extension “.obj”.
#EXECUTION_OF_THE_PROGRAM
After the compilation the executable object code will be loaded in the computers main
memory and the program is executed.
#TYPES_OF_PROGRAMMING_LANGUAGES
1) LOW LEVEL PROGRAMMING LANGUAGE
2) HIGH LEVEL PROGRAMMING LANGUAGE
After the compilation the executable object code will be loaded in the computers main
memory and the program is executed.
#TYPES_OF_PROGRAMMING_LANGUAGES
1) LOW LEVEL PROGRAMMING LANGUAGE
2) HIGH LEVEL PROGRAMMING LANGUAGE
PROGRAM:-
Program to chech whether the given number is greater than 10 or not.
Comments
Post a Comment