Getting Started

Welcome to the "World of Programming".C is the first step that leads you towards the vast source of programming and skills that will help you to provide solution to many daily life problems.

What is C?

C is a high-level computer programming language. A high-level language is the programming language which contains common English language words , familiar to user and also which is compiled,interpreted to the machine code (binary language of 0's and 1's )that computer understands.A normal human being hardly remembers the mobile number of his/her relatives then how could you expect him/her to remember the tedious codes to interact with hardware.Thus a high level language is only for the ease of user. 
            C is the general purpose structured programming language means there exists some syntactic and semantic rules that are essential to be followed. C provides the sequence of instructions in a program that control the behavior or functionality of the computer.

Who developed C?

C was developed by DENNIS RITCHIE between 1969 and 1973 at Bell labs.

Advantages of C 

  1. C is a compiler based language.(whole code at a time)
  2. C language is efficient,fast and easy to understand.
  3. C is a building block for other programming language.
  4. C consists of variety of data types.
  5. C contains 32 keywords.
  6. C follows the modular approach (decomposition of one module to several functions),therefore called a structural programming language.
  7. C program has ability to extend itself,for this purpose there exists C libraries and in-built functions. 

Disadvantages of C

  1. C does not have the concept of OOP(Object oriented programming).
  2. C does not support classes so no resuability ,no inheritence ,no polymorphism.
  3. C does not have concept of constructor or destructor.
  4. C language have no strict type checking.
  5. C language does not support exception handling.

Applications of C

  1. UNIX kernel is developed in C.
  2. It is used for creating computer applications.
  3. It is used to develop simulators.
  4. It is used for creating compilers.
  5. It is used to implement different operating system operations.

Compiler

What is a compiler? We write programs using commands in simple English language. These commands cannot be understood by system and need to be converted into machine language codes. A compiler is a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor.
There are many compilers available for C namely Turbo C, Dev C++ etc. I will suggest you to use Dev. You can download it here.

0 comments:

Post a Comment