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

Exercise on Increment And Decrement

int x=1, y=2, z=3;
printf (“\n%d” , x++ + ++y - --z);
printf (“\n%d” , --x – y-- + z++);
printf (“\n%d” , x++ * ++y % ++z);
printf (“\n%d” , --x / --y * --z);
printf (“\n%d” , --x - z-- % --y);
printf (“\n%d” ,- --x - --y - --z);
printf (“\n%d” ,++x * y-- - ++y *x--);
printf (“\n%d” ,x++ * ++y – x * y * z++);


int x=10, y=11, z=12, w;
w= ++x – y++;
printf (“%d %d %d” ,w, x, y);
w=++y + x++ * z--;
printf (“%d %d %d %d”, w, y, x, z);
w= ++x % ++y % ++z % w--;
printf (“%d %d %d %d”, w, x, y, z);
w= ++w / ++x / y--;
printf (“%d %d %d ”, w, x, y);