Sie sind auf Seite 1von 1

UNIT I Overview of C: History of C-Importance of C-Basic structure of C-Programm

ing style-Contends, Variables and Data types-declaration of variables, storage c


lass- defining symbolic constants- declaring a variable as constant, volatile-ov
erflow and underflow of data. Operator and expressions: arithmetic, relational,
logical, assignment operators-increment and decrement operators, conditional ope
rators, bitwise operators, special operators- arithmetic expression- evaluation
of expressions- precedence of arithmetic operators
type conversions in expressio
n operator precedence and associativity
mathematical functions
managing I/O Opera
tions: reading and writing a character formatted input, output. UNIT II Decision
making and branching: if statement, if else statement-nesting of if .else statemen
t- Else if ladder-Switch statement- the?: Operator- goto statement.The While sta
tement do statement
The for statement jumps in loops. UNIT III Arrays: One dimens
ional array declaration ,initialization
two dimensional array
multi dimensional
array initialization. Strings: declaration, initialization of string variables re
ading and writing string arithmetic operations on strings
putting strings togeth
er comparison
sting handling function table of string features of string. UNIT IV
User defined functions: need multi function program elements of user defined func
tions definition
return values and their types
function calls, declaration, categ
ory of all types of arguments and return values nesting of functions
recursion
pa
ssing arrays ,strings to functions scope visibility and life time of variables
m
ulti file programs. Structure and unions: defining a structure declaring structu
re variables accessing structure members
initialization
copying and comparing
op
erations on individual members arrays of structures
arrays within structures stru
cture within structures
structures and functions Unions
size of structures bit f
ields. UNIT V Pointers: accessing the address of s variable declaring, initializa
tion of pointer variable accessing a variable through its pointer
chain of pointe
rs pointer expressions
pointer increment and scale factors
pointer and arrays
po
inters and character strings array of pointers
pointers as function arguments
fu
nction returning pointers pointers to functions
pointers and structures. Files:
defining opening, closing a file. I/O Operation on files error handling during I/
O Operations random access to file command line arguments. Text Book: 1. E. Balagu
rusamy, Programming in ANSI C , Edition3, Tata McGraw Hill Publishing Company,2005.
UNIT I: Chapters: 1-5 UNIT II: Chapter 6 UNIT III: Chapters 7,8
UNIT IV: Chapters:9,10 UNIT V: Chapter 11,12

Das könnte Ihnen auch gefallen