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


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


Command Line Argument

Command Line Argument contains the predefine variables which takes the value from the memory and assign in the variables. These variables are called with main function by passing it as a parameter. These variables are argc and argv. Argc contain number of arguments (input values) and argv contain values.
Syntax: main (int argc, char *argv[])

Benefits of command line argument are that it does not require recompiling the program every time when we run.
Enum: another way for creating symbolic constants is with the help of enum. An enumerated data type provides a way for attaching names to numbers. Enum automatically enumerates a list of words by assigning those values 0,1,2,3 and so on.
Enum height (large, medium, small);
Enum colour ( black, white);