Showing posts with label Overview of C. Show all posts
Showing posts with label Overview of C. Show all posts

C Language Features


Features of C Programming Language:

C Programming is widely used in Computer Technology; we can say that C is
Inspiration for development of other languages. We can use C for different
Purposes. Below are some of the Features of C Programming –

Features of C
  1. Low Level Language Support
  2. Program Portability
  3. Powerful and Feature Rich
  4. Bit Manipulation
  5. High Level Features
  6. Modular Programming
  7. Efficient Use of Pointers

C Language Applications

Application Of C Programming
C Programming is best known programming language. C Programming is near to machine as well as human so it is called as Middle level Programming Language. C Programming can be used to do verity of tasks such as networking related, OS related.

Application of C Programming are listed below -
1. C language is used for creating computer applications
2. Used in writing embedded soft wares 

C First Program


C Programming Introduction: Tips
1. Every C Program Should have exactly one main function
2. C Program Execution Always Starts from main.
3. Execution of C Program begins at Opening brace of function and ends
at closing brace of the function
4. Generally all statements in c are written in Lowercase Letters.

C Program Execution


Step By Step Execution Of C Program
Step 1: Edit
1. This is First Step i.e Creating and Editing Program.
2. First Write C Program using Text Editor , such as [ Borland C/C++ 3.0 ,
Notpad++,Notpad ]
3. Save Program by using [.C] Extension.

What is Compiler?


Definition of Compiler:
1. A computer program which reads source code and outputs assembly code or executable code is called compiler.
2. A program that translates software written in source code into instructions that a computer can understand Software used to translate the text that a programmer writes into a format the CPU can use.

What is Interpreter?


What is Interpreter?
1. Interpreter Takes Single instruction as input .
2. No Intermediate Object Code is Generated
3. Conditional Control Statements are Executes slower
4. Memory Requirement is Less
5. Every time higher level program is converted into lower level program

Compiler vs Interpreter: Difference


Difference between Compiler and Interpreter:

No
Compiler
Interpreter



1
Compiler Takes Entire program as
Interpreter Takes Single instruction

input
as input .



2
Intermediate Object Code is
No Intermediate Object Code is

Generated
Generated



C Source Vs Object Code


Difference Between Source Code and Object Code
Source Code:
1. Source Code is In the form of Text.
2. Source Code is Human Readable.
3. Source Code is Generated by Human.

C simple program


Tips for New Programmers 1: About Simple Program
1. Include following header file in order to print  simply “Hello”
       #include
2. Don’t forgot to write main function.
3. Separate line for each header file.