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.
- C Programs is Easy to learn . Because , C is high- level Language.
- C Programs Best ( Understand Float Chart ) in Structured Language.
- C Language produced efficient programs.
- C programming Language can handle low-level activities.
- 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.
- Operating Systems
- Language Compilers
- Assemblers
- Text Editors ( Notepad )
- Print Spoolers
- Network Drives
- Modern Programs
- Databases
- Language Interpreters
- 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 )
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