What is C Programming Language? - learnit

Home Top Ad

Post Top Ad

Saturday, March 13, 2021

What is C Programming Language?

C Programming How to Use switch Statement

What is C Programming Language?

C language Tutorial with programming approach for beginners and professionals, helps you to understand the C language tutorial easily. Our C tutorial explains each topic with programs.


Dennis Ritchie develops the C Language for creating system applications that directly interact with the hardware devices such as drivers, kernels, etc


C programming is considered as the base for other programming languages, that is why it is known as mother language.


C is a popular general-purpose programming language, simple, and flexible to use. It is a structured programming language that is machine-independent and extensively used to write a various application, Operating Systems Like Windows, and many Other complex programs like Oracle Database, Python, and more.


History of C Language


The Base or Father of Programming Language is ALGOL. It was first introduced in 1960. ALOGO was used on a large basis in European countries. ALGOL introduced the concept of structured programming to the Developer Community. In 1967, a new computer programming language was announced called BCPL, which stands for basic programming language. BCPL was designed and developed by Martin Richards, especially for writing System software. This was the era of programming languages. Just after three years, in 1970a new Ken Thompson that contained multiple features of BCPL this programming language introduced programming language called was created using the UNIX operating system at AT&T and Bell Laboratories.


It can be defined by the following ways:

1.Mother language

2.Procedure-oriented programming language

3.Mid-level programming language

4.System programming language

5.Structured programming language


1) C as a mother language

C language is considered as the mother language of all the modern programming languages because most of the compilers, JVMs, Kernels, etc. are written in C language, and most of the programming languages follow C syntax, for example, C++, Java, C# , etc.


2)C as a procedural language

A procedure is known as a function, method, routine, subroutine, etc. A procedural language specifies a series of steps for the program to solve the problem. A procedural language breaks the program into functions, data structures, etc.C is a procedural language. In C, variables and function prototypes must be declared before being u


3)C as a mid-level programming language

C is considered as a middle-level language because it supports the feature of both low-level and high-level languages. C language program is converted into assembly code, it supports pointer arithmetic (low-level), but it is machine independent (a feature of high-level).

A Low-level language is specific to one machine, i.e., machine dependent. It is machine dependent, fast to run. But it is not easy to understand.


4)C as a system programming language

A system programming language is used to create system software. C language is a system programming language because it can be used to do low-level programming (for example driver and kernel). It is generally used to create hardware devices, OS, drivers, kernels, etc. For example, Linux kernel is written in C.


5)C as a structured programming language

A structured programming language is a subset of the procedural language. Structure means to break a program into parts or blocks so that it may be easy to understand.


C Basic Command

C Basic Programming Explanation
#Include<stdio.h> This is Command includes standard output header file(stdio.h) from the C library before compiling C Programming
int main() It is the main function from where C program execution Begins.
{ Indicates the beginning of the main function.
printf("Hello Knowledge Edcuation Cambodia "); This command prints the output on the Screen
Getch(); This command is used for any character input from Keyboards
} It is used to indicate the end of the main functions

Please Watching My Video is Below

2 comments:

Post Top Ad