ankitweblogic logo
W e b t u t o r i a l s

Programing Approach

Algorithm

Flow Chart

Define C

Define Programming

C - Syntax

C - Variables

C - Keywords

C - Data Types

C - Comments

Turbo C - Shortcut keys

C - Operators

Hierarchy of Operators

Ex: Arithmetic Operator

Constant Variable

C - Escape Sequence

Control Structure - if

Ex: If condition

Ex: Inc / Dec Operator

C - loops

Ex: Loops

C - Nesting Of loops

Ex: Nested Loops

Jumping Statements

C - Arrays 1D

C - Arrays 2D

C - Sorting

ASCII Value

Character I/O Function

C - Strings

Ex: Strings

Array of Strings

C - Math Functions

User-defined Function

Exercise Function

C - Types of Functions

Storage Class

C - Header Files

C - Preprocessor

C - Pointers

C - Structures

C - Typedef

C - File Handling

Ex: File Handling

Command Line Argument

MCQ

Hierarchy of operators

The Priority or Precedence in which the operators are performed is called the Hierarchy of operators.

PRIORITY OPERATORS
1. ( )
2. * / %
3. + -
4. < , > , <= , >=
5. == , !=
6. &&
7. ||
8. =

Parentheses have the highest priority. If there are more than one set of parentheses than the inner most parentheses would performed first.

Example 1: a * b / c
In the above equation * and / are of same priority. So, equation is start from left to right. First multiplication is performed than division.

Example 2: a = b = 5;
Here, it starts from right to left..