C Languge- Basic C Language Info

Facts about C

  • C was invented to write an operating system called UNIX.
  • C is a successor of B language which was introduced around 1970
  • The language was formalized in 1988 by the American National Standard Institue (ANSI).
  • By 1973 UNIX OS almost totally written in C.
  • Today C is the most widely used System Programming Language.
  • Most of the state of the art software have been implemented using C

Why to use C ?

C was initially used for system development work, in particular the programs that make-up the operating system. C was adoped as a system development language because it produces code that runs nearly as fast as code written in assembly language. Some examples of the use of C might be:

  • Operating Systems
  • Language Compilers
  • Assemblers
  • Text Editors
  • Print Spoolers
  • Network Drivers
  • Modern Programs
  • Data Bases
  • Language Interpreters
  • Utilities

C Program File

All the C programs are writen into text files with extension “.c” for example hello.c. You can use “vi” editor to write your C program into a file.

This tutorial assumes that you know how to edit a text file and how to write programming insturctions inside a program file.

C Compilers

When you write any program in C language then to run that program you need to compile that program using a C Compiler which converts your program into a language understandable by a computer. This is called machine language (ie. binary format). So before proceeding, make sure you have C Compiler available at your computer. It comes alongwith all flavors of Unix and Linux.

If you are working over Unix or Linux then you can type gcc -v or cc -v and check the result. You can ask your system administrator or you can take help from anyone to identify an available C Compiler at your computer.

If you don’t have C compiler installed at your computer then you can use below given link to download a GNU C Compiler and use it.

  • Turbo C++ v3.0 (DOS) -FREE
  • Borland C++ v4.5 -FREE
  • DevC++ – FREE
  • Intel C++ Compiler (DOS) -PAID

Fast Revision

Download

Books

Ansi C – balagurusamy

Ansi C

Share

About the Author

Akash Padhiyar

Visit Website

5 Comments

  1. rv covers August 4, 2010

    yea really good Function.

  2. Great site man , just keep it .

  3. Great site man , just keep it . greetings from uganda lion

  4. Good blog! I really love how it’s easy on my eyes and the data are well written. I am wondering how I could be notified whenever a new post has been made. I have subscribed to your rss feed which must do the trick! Have a nice day!

  5. Thank you soo much for the Information ! i am a BCA Ignou Distance education student and you have no idea how much your website is helping me out ! Thank a LOT !

Leave a Comment

Your email address will not be published. Required fields are marked *

*

Time limit is exhausted. Please reload CAPTCHA.