C Programming bridges gap between traditional Machine Level language and more conventional High level languages. C Programming is Middle Level Language
Application of C Programming
C Programming is used in wide verity of applications. Application of C Programming in Computer Science are listed in this tutorial
Step By Step Execution Of C Program
Step By Step Execution Of C Program Step 1 : Edit This is First Step i.e Creating and Editing Program. First Write C Program using Text Editor , such as [ Borland C/C++ 3.0 , Notpad++,Notpad ] Save Program by using [.C] Extension. File Saved with [.C] extension is called “Source Program“. Step 2 :(…)
Difference between Compiler and Interpreter
Difference between Compiler and Interpreter No Compiler Interpreter 1 Compiler Takes Entire program as input Interpreter Takes Single instruction as input . 2 Intermediate Object Code is Generated No Intermediate Object Code is Generated 3 Conditional Control Statements are Executes faster Conditional Control Statements are Executes slower 4 Memory Requirement : More (Since Object Code(…)
What is Compiler ?
Definition of Compiler : A computer program which reads source code and outputs assembly code or executable code is called compiler. 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. A(…)
Analysis Phase >> Lexical Analysis [ Phases of Compiler ]
Compiler : Compiler takes high level human readable program as input and convert it into the lower level code.This conversion takes place using different phases.First phase of compiler is lexical analysis. Must Read : [What is Compiler ?] Different phases of compilers : Analysis Phase Synthesis Phase 1.Analysis Phase : Lexical analysis Syntax analysis Semantic(…)
Features of C Programming Language
Features of C Programming Language | 8 Features of C Programming Language that are listed below. C Programming is used in Wide Verity of Applications.
Analysis Phase >> Syntax Analysis [2nd Phase of Compiler]
Analysis Phase : 2nd Phase of Compiler (Syntax Analysis) During the first Scanning phase i.e Lexical Analysis Phase of the compiler , symbol table is created by the compiler which contain the list of leximes or tokens. Syntax Analysis : It is Second Phase Of Compiler after Lexical Analyzer It is also Called as Hierarchical(…)
What is RValue ?
What is RValue ? Lvalue stands for Right value. In any Assignment statement R-Value must be anything which is capable of returning Constant Expression or Constant Value. L Value Can be a Variable Constant Function Macro Enum Constant Any other data type Diagram Showing Lvalue : Example of LValue : #include<stdio.h> int main() { int(…)
What is L-Value in Expression | L-value require Error !!
What is LValue ? Lvalue stands for left value. In any Assignment statement L-Value must be a container ( i.e. which have ability to hold the data) Variable is the only container in C L Value must be any Variable. L Value Cannot be a Constant Function Any other data type Diagram Showing Lvalue :(…)