Who developed C-Programming Language?
![]() |
C-programming language |
C-programming language was developed by Dennis Ritchie in 1972 at Bell Laboratories.
Definition :
C is a structured programming language in which program is divided into various modules. Each modules can be written separately, and together it forms a single C-program. This structure makes it easy for testing, maintaining and debugging processes.
A C-program basically Consists of the following parts:
1. Preprocessor Commands :
The preprocessor section Contains all the header files used in a program. It informs the Compiler to include these files before going to actual Compilation.
Read more about preprocessor here.
2. Functions :
3. Variables :
A variable is a name given to a storage area that our program can manipulate. Each variable in c has a specific type, which determines the size and layout of the variables memory, the range of values that can be stored within that memory, and the set of operations that can be performed to the variable.
Rules for declaring a variable in C-Programming language is following :
4. Statements & Expressions :
A Statement is a programming instruction that performs some action. An expression is any section of the code that evaluates to a value.
5. Comments :
A Comment is a programmer readable explanation or annotation which are not executed by the Compiler. Generally comments are used to provide the description about the logic written in program.
comments are not displayed on output screen.
In C-Programming language two types of comments are possible :
//comment
/*comment 1
comment 2*/
1 Comments
verry nice c programming Tutorial
ReplyDeletePost a Comment