Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

C Introduction


May 11, 2021 C


Table of contents


C Introduction

The C language is a common, high-level language originally designed by Dennis Ritchie at Bell Labs to develop the UNIX operating system. The C language was first implemented on the DEC PDP-11 computer in 1972.

In 1978, Brian Kernighan and Dennis Ritchie produced C's first publicly available description, now known as the K-R standard.

The UNIX operating system, the C compiler, and almost all UNIX applications are written in C. For a variety of reasons, the C language is now a widely used professional language.

  • Easy to learn.
  • Structured language.
  • It produces efficient programs.
  • It can handle the underlying activities.
  • It can be compiled on a variety of computer platforms.

About C

  • The C language was invented to write the UNIX operating system.
  • The C language is based on the B language, which was introduced around 1970.
  • The C language standard was developed in 1988 by the National Institute of Standards (ANSI), or American National Standards Institute.
  • As of 1973, the UNIX operating system was written entirely in C.
  • Currently, the C language is the most widely used system programming language.
  • Most advanced software is implemented in C.
  • Today's most popular Linux operating system and RBDMS MySQL are written in C.

Why use C?

The C language was originally used for system development, especially for programs that make up the operating system. B ecause the C language produces code that runs at almost the same speed as the assembly language, the C language is used as the system development language. Here are a few examples of using C:

  • Operating system
  • Language compiler
  • Assembler
  • The text editor
  • Print a sly offline
  • The network drive
  • Modern programs
  • Database
  • Language interpreter
  • The entity tool

C program

A C-language program, which can be three lines or millions of lines, can be written in one or more text files .c for example, hello.c You can use "vi", "vim" or any other text editor to write your C-language program.

This tutorial assumes that you already know how to edit a text file and how to write source code in a program file.