Tuesday, February 17, 2009

Basics of C

Basics of C Language:

C is a Middle Level Language and is also Case Sensitive (Programs are written in lower case and 'int' is different form 'INT').

Low Level Language:

If a program is written using binary digits 1's and 0's then it is said to be a Low Level language or Assembly level language program and these are understandable only to the Computer..It is faster in execution but writing a low level language program is a time taking process.

Examples of Low Level Languages : assembly level languages,Basic,logo,Wordstar etc..,

High Level language:

If a program is written in human understandable language example if a program is written in English it is said to be High Level Language.It is slower in execution as we need to have a translator(Complier or Interpreter) to translate the code into machine understandable language.But, writing a program in High Level Language is very Fast...

Examples of High Level Language:Pascal, Fortran, Cobol(Common Business Oriented Language) etc...,

Why is C called as Middle Level Language ?

C language can be used to write both Low Level Programs and also High Level Programs so, C is called as Middle Level Language...

C is also a Case Sensitive Language:

Now,U all might be wondering what is this Case-Sensitive means, Case sensitiveness means the language will be able to identify the difference between lower case letters and upper case letters..
Ex: 'i' is different from 'I'.

Features Of C Language:

We have three major Features or Characteristics of C Language...

1. Flexibility: C language is very user friendly and doesnt follow Strict Rules...It is more user friendly Language.

2.Portability: C is also a portable language that means a program written in one computer can be executed in other computer **Provided the computer should have same Operating System and Complier should be same**.

3. Modular Approach: Writing a big program increases the complexity of the program, so to reduce the complexity of a c Program we divide the total program into small small modules using Functions, this approach is called as Modular Approach.

Click on the Next link to continue......

Back<< Next>>

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More