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

C Tutorial

Programing Approach


Flow Chart

Define C

Define Programming

C - Syntax

Compiler vs Interpreter

C - Variables

C - Keywords

C - Data Types

C - Comments

Turbo C - Shortcut keys

C - Operators

Hierarchy of Operators

Ex: Arithmetic Operator

C - Formatting Output

Constant Variable

C - Escape Sequence

C - if , switch

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


Character I/O Function

C - String Functions

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


C - Header Files

A header file is a library file which contains function declarations and macro definitions which can be used in source program. Header files is saved with an extension '.h'.

The Benefits of using header file is that you can reuse the function's and macro's in multiple program files without redeclaring it.

In C/C++, there are 41 predefined header files available.

List of C/C++ Header Files
alloc.h assert.h bcd.h bios.h
complex.h conio.h ctype.h dir.h
dirent.h dos.h errno.h fcntl.h
float.h fstream.h generic.h graphics.h
io.h iomanip.h iostream.h limits.h
locale.h malloc.h math.h mem.h
process.h setjmp.h share.h signal.h
stdarg.h stddef.h stdio.h stdiostr.h
stdlib.h stream.h string.h strstrea.h
sys\stat.h sys\timeb.h sys\types.h time.h