Sunday, 14 June 2015

C Language Basic Overview

 C Language Basic Overview


Overview :  The c programming language is a general-purpose mainly , c is high- level language. c is originally developed by Dennis Ritchie  to develop the  Unix operating System at Bell Lab. C Was Original first implementation on the December PDP-11 Computer in 1972.Since at 1978, Dennis Ritchie Produced the first publicly Available description of c.

Unix operating system, the computer , and essentially all Unix Application programs have been written in c. C is Professional Language for Different reasons Bellow.


  1. C Programs is Easy to learn . Because , C is high- level Language.
  2. C Programs Best ( Understand Float Chart )  in Structured Language.
  3. C Language produced efficient programs.
  4. C programming Language can handle low-level activities.
  5. C languages compiled on a Variety Of Computer Plat Forms. ( Programs Execution )

Facts in C :  C was first invented to write an operating System Called Unix. C is a Successor of B Language , Which Was Introduced Around 1970.

The C Language Was formalized in 1988 by the " American National Standard Institute " ( ANSI ) . The Unix OS Was Totally Written in c By 1973.

Now a days , C is Most Used And Popular System Programming Language. More Then Software Developed Using C Language.

For Examples, Unix Operating System, Windows Desktop Application, MySQL .


Why Use C Language Best : C Was Adopted as a System Development Language. Because It Produced Code That Runs Nearly As Fast As Code Written in Assembly Language.


  1. Operating Systems
  2. Language Compilers
  3. Assemblers 
  4. Text Editors ( Notepad )
  5. Print Spoolers
  6. Network Drives
  7. Modern Programs
  8. Databases
  9. Language Interpreters
  10. Utilities 

Write a Small C Programs Structure

How to c program Save :  The C Programs Can Vary From more numbers of code lines  are saving Using notepad write . Then Save as ( .c )

#include<stdio.h>

int main()

{

printf("Thanks For Reading ");   /* puts (" "); also using. */

return 0;

}

Here  Save as , The ( thanks.c ) . # is preprocessor. main() is method. <stdio.h> is a preprocessor command. printf display on output. C Programs Save as in Unix Operating System - Use " vi " In Shell Operating System.


/* puts(" "); also using */  Using Comment Operation Just Show On Code .But, Its Not  Work Any Action In The Programs.

Semicolons ;  In The C Programs , The Semicolon is a statement terminator. That is , each individual statement must be ended with a semicolon . semicolon  ( ; )  Indicates the end of one logical entity.

C Identifiers :  C Identifier is a name used to identify a variable, Function, or any other user-defined item.

Rules For identifiers : A identifiers starts with a latter A to Z also Use a to z. An Underscore ( _ ) Followed by Zero or letters,digits ( 0 to 9 ).

C Don't Allows Punctuation character such as @, $,and % Within identifiers.

C Is Case Sensitive Programming Language.

Ex:  abc,  b_789,  _temp; 

No comments:

Post a Comment