C Programming

Introduction to ‘C’ Programming Langauge.

C is a high level, general purpose, structured programming language. Instructions of c consist of terms that are very closely same to algebraic expressions,consisting of certain English keywords. By design, C provides constructs that map efficiently to typical machine instruction and has found lasting use in applications previously coded in assembly language. Such applications include operating systems and various application software for computers, from supercomputers to embedded systems.

C was originally developed at Bell Labs by Dennis Ritchie with their colleague Ken Thompson between 1972 and 1973 to make utilities running in Unix. Later, it was applied to re-implementing the kernel of the Unix operating system. During the 1980s, C gradually gained popularity. It has become one of the most widely used programming language, with C compilers from various vendors available for the majority of existing computer architectures and operating systems. C has been standardized by the ANSI since 1989 and by the international organization for standardization.

Dennis Ritchie

 It has a small instruction set,through it includes extensive library functions which enhance the basic instructions.the important characteristic of c is that its programs are highly portable.the c programs once written are compiled before execution by c compiler.the compilers are usually compact ,and they generate object programs that are small and highly efficient.

The first program written in c language :-

First C Program

General structure of c program :-

Header file
Void main()
{
Variable declaration
Statements;
}

Example to display HELLO WORLD in c language:-

#include<stdio.h>
void main()
{
Printf(“HELLO WORLD”);
}
If you have any questions comment down below 🠟🠟🠟
Thank You.

Leave a comment

Design a site like this with WordPress.com
Get started