History of C Programming

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

History of C Programming Language

C Language:
C" is a "general purpose" programming language that supports structured
programming, lexical and recurring variable ranges with static type systems.
Due to its awesome nature, C offers architectures that can only be mapped to
the directions of the machine. This is a sustainable use in applications that
were previously encoded in a programming language. These applications
range from operational systems and computer architecture to various
application packages ranging from supercomputers to PLCs and embedded
systems. As a result of the successor to the B programming language, C was
originally developed by Dennis Richie between 1972 and 1973 to develop
utility programs in Bell Labs that run under the operating system package. It
was implemented to deploy the operating system package kernel. Within the
nineteenth century, C achieved step by step standards. It has become one of
the most widely used programming languages, with C-compilers accessible to
many existing computer architectures and operational systems from various
vendors. C has been standardized by ANSI (ANSI C) and the International
Organization for Standardization (ISO) since 1989. C is also the language of a
distributed procedure. It is designed for low-level access and language
constructs that map flight in the direction of the machine, all without the
availability of runtime support. Distinguished by its low level of expertise, the
language was created to encourage cross-platform programming. A
standardized malicious program designed for the selection of computer
platforms and operational systems with mobility in mind, with only a few
changes to the American Standard Code for Information Interchange
computer file.

History
The origin or father of programming languages is 'ALGOL'. It was first
introduced in 1960. 'ALGOL' was widely used in European countries. ALGOL
introduced the idea of structured programming to the developer community. In
1967, an alternative computer programming language known as 'BCPL' stood
for Basic Combined Programming Language. BCPL was designed and
developed by Martin, a literary critic, specifically for writing software packages.
This was the age of programming languages. Once in just three years, in
1970, Ken Thompson introduced an alternative programming language called
'B', which had several BCPL options. Each had 'BCPL' and 'B' system
programming languages. In 1972, Dennis Ritchie, a master of science,
developed an alternative programming language called 'C' in Bell
Laboratories. It was built entirely into the 'ALGOL', 'BCPL' and 'B'
programming languages. The 'C' programming language includes all the
language options and additional ideas that make it stand out from other
languages.
'C' can be a powerful programming language that is strongly related to the
operating system package. Even most operating system packages are coded
in 'C'. The first 'C' programming was limited to the operating system package,
however, as it began to spread around the world, it became industrialized, and
many compilers were free for cross-platform systems. These days, 'C' runs
under the proliferation of operating systems and hardware platforms. Because
it began to develop that many alternative versions of the language were free.
Now and then it became difficult for developers to keep up with the latest
version because the systems were running under the old version. The Yankee
National Standards Institute (ANSI) designed a general board for the C
language in 1989 to ensure that the C language could remain common. The
programming language is also called 'ANSI C'.
Why We use C Language?
As we have a tendency to studied earlier, ‘C’ is a base language for several
programming languages. So, learning ‘C’ because the main language can play a
vital role whereas finding out alternative programming languages. It shares
identical ideas like information sorts, operators, management statements, and
lots of additional. ‘C’ are often used wide in varied applications. It is an easy
language and provide execution very fast, There area unit many roles offered for
a ‘C’ developer within the current market.
C is a structured programming language during which the program splits into two
modules, every module is often written singly and along it forms one ‘C’ program.
The structure makes it simple for testing, maintaining, and debugging
processes.‘C’ contains thirty two(32) keywords, varied information sorts, and
group of powerful inbuilt functions that build programming terribly economical.
Another feature of C langauge is that it extends itself. C program contains
functions that are the part of the library, and we are able to add our own functions
to a library. And we are able to access and use these functions anytime we want
in our program. This feature makes it easy whereas operating with advanced
programming. Various compilers area unit offered within the market which are
used for capital punishment programs written during this language.
It is a extremely moveable language which suggests programs written in ‘C’
language and will run on alternative machines. This feature is crucial if we have a
tendency to like and use or execute the code on another laptop.
Evolution of C Language
The C programming language was developed in 1972 at AT&T Bell Laboratories
in the United States. Dennis M. Richie was the father of the C programming
language. It was he who designed and wrote the language.

As a result, C became a preferred programming language.

Simplicity,

• Trust,

Easy to use and many alternative similar options.

C is an indispensable language designed to be comparatively square, providing


access to the lower levels. With the gradual increase in program quality, the
language and its compilers became well-accessible platforms, from embedded
microcontrollers to supercomputers. With the introduction of the K&R C language
(a reintroduction of C, reprinted in 1978 by Brian Cornighan and Dennis Richie),
many options are closed within the C language.

Some of these options are:

• Standard I / O (input / output) library.

• Long int - knowledge sequence

• Signed Int - Knowledge Sequence.

Compound Assignment Operators.

In the late 19th century, C began to be used for various mainframe computers,
micro, and mini-computers, which began to attract popularity. A little bit of C got
its superset - that is, C ++, it has additional options, however it has evolved from
C with all its initial ideas. ALGOL Sixty was first developed by a global committee
to program scientific applications, industrial applications, and alternative such
applications. However, it became very abstract and common.

To defeat the ALGOL 60 issue, Cambridge developed another language called


Combined Programming Language (CPL). This programming language has
become difficult to define and use due to its quality and unorganized options.
This programming language is also very clothed and does not meet the
expectations. Besides, he didn't get much positive response. Finally Dennis
Richie studied each BCPL and B, choosing the best options from each, using his
intelligence and many additional new options to make the world of programming
the easiest problem ever "C - All Programming" Mother of Languages "provided.
Benefits of C language
1. As an inferior language, C combines the powers of every higher and lower
level language. This software package is used for low level programming, such
as scripting for drivers and kernels, and it also supports advanced programming
language functions, such as scripting for software system applications.
2. C can be a structured programming language that allows a program to be
broken down into less complex programs called functions. It also allows the free
movement of knowledge in these functions.
3. Direct access to various C-level options as well as machine-level hardware
apps, the presence of C-compilers, C-language scripting applications in resource
standby Associate Nursing Dynamic Memory Allocation, and for drivers of
embedded systems. Makes choices.
4. The C language case is sensitive which suggests mechanical and uppercase
square measurements.
5. C is highly replicable and is used for scripting system applications that type an
important part of the Windows, UNIX, and UNIX system packages.
6. C can be an all-purpose programming language and can work fast on
enterprise applications, games, graphics and applications.

Elements of C Language- Identifiers, keywords, data


types, Data objects
The C Character Set
C uses the uppercase English alphabets A to Z, the minuscular letters a to z, the
digits zero to nine, and bound special characters as building blocks to create
basic program parts viz. constants, variables, operators, expressions and
statements. The special characters square measure listed below:

Constants
The constants in C may be classified into four classes particularly whole number
constants, floating purpose constants, character constants and string constants.A
character constant is written as for instance - 'A' (always enclosed in single
quotes).Examples of string constants square measure - "Jamshedpur", "A", etc.
Note that a string constant is often enclosed inside quotation mark. A normal
whole number constant is written as 1234

Data Types and Sizes


There are only few data types in C. They are written in the table below:

Identifiers and Keywords


Identify area unit names that are assigned to different objects in the program,
such as variables, functions, and rows. The associate symbol in nursing
consists of letters and numbers in any order, except that the basic letter is one
letter. The unit of area for each uppercase and lowercase letter is valid. The
uppercase and lowercase letters are unit but not interchangeable (i.e., the
associate in nursing letter is not the same as the lowercase letter). The
underscore character (_) can even be closed, and is considered a letter.
Keywords like if, else, int, float, etc. have special meanings and cannot be
used as symbol names.
Samples of valid symbol names are: A, ab123, speed, stud_name,
circumference, average, total. The following names do not seem to be valid
identifiers:

Variable Declaration in C
In any C programs all the variables must be declared before they are used,
Declaration determeines the type of dara and contains list of one or many
variables having same data type.

Why Do We Use C language?


There are many languages on the market, which are being used to develop
applications. C is still preferred, thanks to the following reasons:

1. The C language has a short range of keywords, as we all know that in a very
common version of the artificial C language area unit it is easy to remember only
32 keywords and 32 keyword area units.

2. The C language has a short range of common libraries and library functions
(that area unit is well established and standard portable) but they will be
accustomed to any reasonable (almost)) functions.
3. C language has created a collection of information with awesome qualifier
options such as const, volatile, etc.
4. The C language is incredibly economical, well-liked and well-understood.
5. C language is well-liked for embedded system programming due to its
flexibility.
6. Programs written in the C Artificial Language Area Unit are easy to scan,
understand, and edit.
7. C language is free, and you don't have to pay anything even though you are C
language for embedded systems. We are only able to access any hardware
device connected to the microcontroller (please, tangled systems here in
processors such as microcontrollers area unit), for example: we are able to take
pictures through the camera, Functions by recording videos (known as device
drivers).

I personally like C programming languages for 2 reasons.

1) It's flexible I won't talk I need to try There are no restrictions until I have access
to a limited amount of memory. Since C language does not have some security
options, it makes C language very versatile as you will be able to access
anything from anywhere.

2) It's very simple and concise: using a few library functions and knowledge
types, I will style the functions for any reasonable issues.

Comparing C language With Java


Here area unit a number of the variations between Java and C language.

C Language Java
Java was developed by James
C was developed by Dennis M. goose in 1995.
Ritchie between 1969 and 1973.

C is a kind of procedure-oriented.
C is a kind of Data-oriented.
C typically breaks right down to Java breaks down into objects
functions

Memory allocation is done by a brand


Memory allocation is done by malloc
new keyword in Java.
in C
C doesn't supports Threading. Java supports the conception of
threading.
C is not portable. java is portable
It follows a top-down approach. Java language follows a bottom-up
approach.
C language supports Preprocessors. Java does not support Preprocessors.
It doesn't support OOPS conception Java supports OOPS conception
It has thirty-two keywords. It has fifty keywords.

You might also like