1BCA4 - Programming in C
Overview of C
- Introduction & features of C
- Structure of C program,
- Variables, Expressions, Identifiers, Keywords, Data
Types, Constants.
Operator and Expression
- Operator : Arithmetic, Logical, Relational, Conditional
and Bitwise Operators
- Precedence and Associativity of Operators,
- Type conversion in expression
Basic Input/Output and Library Functions
- Single character input/output i.e. getch(), getchar().
getche(), putchar(),
- Formatted input output i.e. printf() and scanf(),
- Library functions - concepts, Mathematical &
Character functions.
Control Structure
- If statement, If.....Else statement, Nesting of
If....Else Statement, else if ladder,
- The ?: operator,
- goto statement,
- Switch statement,
- Compound statement.
- Loop controls
- for, while, do-while loops,
- break, continue, goto statement.
Arrays
- Single and Multi Dimensional arrays,
- Array declaration and initialization of arrays,
- Strings : declaration, initialisation, functions.
Functions
- The need and form of C functions,
- Userdefined and library function,
- Function arguments,
- Return values and nesting of function,
- Recursion,
- Calling of functions,
- Array as function argument,
- Scope and life of variables - local and global variable,
- Storage class specifier - auto, extern, static, register
Structure and Union
- Defining structure,
- Declaration of structure variable,
- Accessing structure members,
- Nested structures,
- Array of structure,
- Structure assignment,
- Structure as function argumnet,
- Function that return structure,
- Union.
Text & Reference Books :
- Programming in C by E. Balaguruswamy, TMH Publications
- Programming with C by Gottfried, Schaums Outline Series,
TMH Publications
- Thinking in C by Mahapatra, PHI Publications