What is c programming?
Before knowing
about c programming, one should know about the c language.
C was
developed in 1960’s (somewhere we can find 1972) by Dinnis Ritchie. It was
growth of two earlier language i.e. combined programming Language and basic combined
programming Language.
C is a
middle level language because in c we can do programming up to high level as
well as up to low level.
FORMAT OF C PROGRAM
#include<header
file name>
Main()
{
All variable
declaration;
All I/O
elements;
}
1) What is #include?
- It is a pre-processor directive.
2) What is Header file?
- It contains description about library
functions. There are many number of library functions in a single c program. For
eg; pow(), <math.h> etc
3) what is main() ?
- Operating system always start the
execution of a program from the main(). In c program there must be a main
function.
great job
ReplyDelete