C -Introduction

Dennis M. Ritchie created C as a general-purpose, high-level language for developing the UNIX operating system at Bell Labs. In 1972, C was initially implemented on the DEC PDP-11 computer.

Brian Kernighan and Dennis Ritchie published the K&R standard, the first publicly available description of C, in 1978.

C was used to write the UNIX operating system, the C compiler, and almost all UNIX application applications. For a variety of reasons, C has become a frequently used professional language.

It is simple to learn

grammatically correct

It creates effective programmes.

It is capable of handling low-level tasks.

It can be built on a number of different computer platforms.

 

What is the benefit of using C?
C was first used for system development, namely for the programmes that make up an operating system. C was chosen as a system development language because it generates code that executes nearly as quickly as assembly language code. The following are some instances of C usage:

Language Compilers for Operating Systems
Assemblers
Editors of Text
Spoolers for printing
Drivers for Networks

 

Programs written in C
A C programme can include anything from three to millions of lines and should be written in one or more text files with the extension “.c,” such as hello.c. You can write your C programme into a file using “vi”, “vim,” or any other text editor.

This lesson assumes that you can edit a text file and write source code within a programme file.

 

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *