Who developed C-Programming Language?

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 :

main() is the first function to be executed by the Compiler. Because it's the main function where program execution begins.

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 :

1. Every variable name should start with alphabets or underscore(_).
2. No spaces are allowed in variable declaration.
3. Except underscore(_) no other special symbols are allowed in declaring a variable.
4. Maximum length of a variable is 8 characters depends on compiler and operating system.
5. Every variable name always should exists in left side of assignment operator.
6. No keywords should access variable name.

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 :

1. Single line comment : 

//comment
2. Multi line comment :

/*comment 1
comment 2*/