GupShup Study
 
  
C language Tutorials - What is C language? basic information
Neeraj Yadav

C language Tutorials - What is C language? basic information

08-Jul-2016 | | Total View : 531 |

What is C? What is it for? Why is it special?

Introduction-
C is a remarkable language. Designed originally by Dennis Ritchie in 1972, working at AT&T Bell Laboratories in New Jersey, it has increased in use until now it may well be one of the most widely-written computer languages in the world. C is a structured language. It allows variety of programs in small modules. It is easy for debugging, testing, and maintenance if a language is a structured one.

The ability to organize and process information is the key to success in the modern age. Computers are designed to handle and process large amounts of information quickly and efficiently, but they can't do anything until someone tells them what to do. 
That's where C comes in. C is a programming language that allows a software engineer to efficiently communicate with a computer. 
C is a highly flexible and adaptable language. Since its creation in 1970, it's been used for a wide variety of programs including firmware for micro-controllers, operating systems, applications, and graphics programming. 
C is one of the most most widely used languages in the world and is fairly stable. An improved C language called C++ has been invented, but it is still in development, and its definition is still being worked on. C++, originally known as C with Classes, adds a number of new features to the C language, the most important of which is the class. Classes facilitate code reuse through object-oriented design (OOD).

Which is better, C or C++?
The answer depends on who you talk to. C++ does great things for you behind your back, such as automatically calling constructors and destructors for variables. This processing makes some types of programming easy, but it makes static checking of programs difficult, and you need to be able to tell exactly what your program is doing if you are working on embedded control applications. So some people consider C++ the better language because it does things automatically and C doesn't. Other people consider C better for precisely the same reason. 
Also, C++ is a relatively new language that's still changing. Much more C code exists than C++ code, and that C code will need to be maintained and upgraded. So C will be with us for a long time to come.

C programming language standards:

  • C89/C90 standard – First standardized specification for C language was developed by the American National Standards Institute in 1989. C89 and C90 standards refer to the same programming language.
  • C99 standard – Next revision was published in 1999 that introduced new features like advanced data types and other changes.

Facts about C:

  • The language was formalized in 1988 by the American National Standard Institute (ANSI).
  • The UNIX OS was totally written in C.
  • Most of the state-of-the-art software have been implemented using C.
  • Today's most popular Linux OS and RDBMS MySQL have been written in C.
  • C was invented to write an operating system called UNIX.
  • C is a successor of B language which was introduced around the early 1970s.
  • Today C is the most widely used and popular System Programming Language.

Features of C programming language:

  • Simple
  • Machine Independent or Portable
  • Mid-level programming language
  • structured programming language
  • Rich Library
  • Memory Management
  • Fast Speed
  • Pointers
  • Recursion
  • Extensible

Uses of C programming language:

The C programming language is used for developing system applications that forms a major portion of operating systems such as Windows, UNIX and Linux. Below are some examples of C being used.

  • Database systems

  • Graphics packages

  • Word processors

  • Spreadsheets

  • Operating system development

  • Compilers and Assemblers

  • Network drivers

  • Interpreters

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

It can be defined by following ways:

  1. Mother language
  2. System programming language
  3. Procedure-oriented programming language
  4. Structured programming language
  5. Mid level programming language

Programming languages that were developed before C language:

Language Year Developed By
Algol                           1960 International Group
BCPL 1967 Martin Richard
B 1970 Ken Thompson
Traditional C 1972 Dennis Ritchie
K & R C 1978                           Kernighan & Dennis Ritchie
ANSI C 1989 ANSI Committee
ANSI/ISO C 1990 ISO Committee
C99 1999 Standardization Committee

 
Which level is C language belonging to?

S.no 

High Level 

Middle Level

Low Level

1 High level languages provide almost everything that the programmer might need to do as already built into the language       Middle level languages don’t provide all the built-in functions found in high level languages, but provides all building blocks that we need to produce the result we want         Low level languages provides nothing other than access to the machines basic instruction set      
2 Examples:
Java, Python
C, C++ Assembler

 

Hope you like this tutorial and basic information of C language. in the next tutorial i will tell you "How to install and Run C language program in PC - Support Full Screen" stay with us for latest updates.
give your suggestion through comments and please share with friends.

 

 

Share With Friends :  

No any Comment yet!