What is C?

     A high-level programming language developed by Dennis Ritchie at Bell Labs in the mid 1970s. Although originally designed as a systems programming language, C has proved to be a powerful and flexible language that can be used for a variety of applications, from business programs to engineering. C is a particularly popular language for personal computer programmers because it is relatively small -- it requires less memory than other languages.

     The first major program written in C was the UNIX operating system, and for many years C was considered to be inextricably linked with UNIX. Now, however, C is an important language independent of UNIX.

     Although it is a high-level language, C is much closer to assembly language than are most other high-level languages. This closeness to the underlying machine language allows C programmers to write very efficient code. The low-level nature of C, however, can make the language difficult to use for some types of applications.

To write and exicute C program you need some step which is given below:-

  • The #include directive
  • Header files
  • Comments
  • The main() function
  • The return statement
  • The exit() function
  • The newline character (\n)
  • The void data type
  • Translating a C program into an executable file
  • Debugging

A First C Program:-

#include <stdio.h>
printf ("First C program.\n");
return 0;

     To run above program you need tuboc c. Open turboc c write above code and save it filename.c name.

To compile press Alt+F9.

To run program Press Ctrl+F9.

The Output will be "First C program."