You are on page 1of 2

UNIT � I AN OVERVIEW OF C

C Expressions: The library - basic data types - modifying the basic


types - identifier names-variables - access modifiers - storage class specifiers
-variable initialization - constants - operators � expressions. Program control
statement: Selection statements - if, if-else if, conditional expressions, switch
statement - iteration statement - for loop, while loop, do while loop - jump
statement � expressions statements-block statements.

(15 Hours)

UNIT � II ARRAYS AND STRINGS

Array and strings: Single-dimension arrays- strings - two-dimension


arrays - array initialization. Structures, unions, enumeration and user-defined
types: Structures- array of structures - array and structures within structures -
bit-fields - * enumerations - using sizeof to ensure portability - typedef.

(15 Hours)

UNIT � III FUNCTIONS

Function: The general form of a function - scope rules of a function -


function arguments - argc and argv � arguments to main() - the return statement -
functions that return non-integer values - function prototypes - returning
prototypes - function of type void - recursion - declaring variable length
parameters - declarations - passing structures to functions.

(15 Hours)

UNIT � IV POINTERS

Pointers: Pointer variable - the pointer operations - pointer


expressions - pointers and arrays - multiple indirection - initialization of
pointers - pointers to functions - returning pointers - C �s dynamic allocation
functions - program with pointers - structure pointers. Console I / O: Reading and
writing characters � reading and writing strings - formatted console I / O -
printf () - scanf ().

(15 Hours)

UNIT � V FILE I/O

File I / O: Streams and files - streams - files - file system basics -


fread () and fwrite() - fseek () and random access I / O � fprintf () and fscanf
(). The C preprocessor: The C preprocessor - #define - #error - #include -
conditional compilation directives - #if, #else, #elif - #endif - #ifdef and
#ifndef - #undef - using defined - #line - #pragma - the # and ## preprocessor
operators - predefined macro names.

You might also like