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

Control Structure

Control Structure - if

Ex: If condition

Ex: Inc / Dec Operator

C - loops

Ex: Loops

C - Nesting Of loops

Ex: Nested Loops

Constant Variable

C - Escape Sequence

C - Arrays 1D, 2D

C - Sorting

ASCII Value

Character I/O Function

C - Strings

Ex: Strings

Array of Strings

C - Math Functions

C - Functions

C - Types of Functions

Storage Class

C - Header Files

C - Preprocessor

C - Pointers

C - Structures

Typedef File Handling

Command Line Argument

MCQ

Operators In C

An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. C language is rich in built-in operators and provides the following types of operators: There are about 45 operators in C-Language.

S.No. Operator Name Opeartor Symbol
1. Arithmetic Operators
+Addition
-Subtraction
/Division
*Multiplication
2. Comparison/Relational Operators
>Greater than
<Less than
>=Greater than equals to
<=Less than equals to
!=Not equals to
==Equals to
3. Modulus Operator
%
4. Logical Operators
&&And
||Or
!Not
5. Assignment Opeartor
=Assignment
6. Increment/Decrement Operator
a++Post Increment
++aPre Increment
a--Post Decrement
--aPre Decrement
7. Compound Assignment Operators
+=Add and Assignment
−=Subtract and Assignment
*=Multiply and Assignment
/=Divide and Assignment
%=Modules and Assignment
8. Conditional or Ternary Operator
? :
9. Bitwise Operators
&AND
|OR
>>Left Shift
<<Right Shift
^Exclusive OR
10 Sizeof() operator calculate the size of the data type

Modulus Operator: It divides the number and return the remainder. Note: Modulus operator will not work with float or double values.

Ternary Operator: Consists of both the question mark and the colon. Condition is a logical expression, if the condition is true than evaluates expression 1 and if the condition is false then evalutes expression 2.