Skip to main content

Posts

Showing posts with the label structure of c language

Basics of C language

Basics of C language C language is the most commonly used programming language. C language is invened by Dennis Ritchie. It is used in wide range of aaplications. Before C language there ware Assembly level language and Basic compiling programming language(BCPL). Assembly level language code is leanthy as compared to C language code, therefore C language is preffered over BCPL and Assembly level language. Basic Structure of C language Documentation Section Link Section Defination Section Global Declaration Section Main function Section Subprogram Section C program always starts with a include file. SYNTAX : #include filename where filename may be stdio.h, conio.h, math.h, string.h, etc. depending upon the operation to be performed in the program. Most commonly used is stdio.h , which stands for standard input output header file. math.h is used to perform mathematical operations in the program, similarly other...