Contents
Unit 2 -
Sample C program, C program structure, executing a C program. Basic Data Types, Variables,Constants, keywords and identifiers, variables declaration, Assigning values to variables. Operators and Expression: Categories of operator- Arithmetic, Relational, logical, assignment, increment, decrement, conditional, bitwise and special operators; arithmetic expressions, precedence and associatively of operators, type conversions
Unit 3 -
if…..else statement, nested if…. else statement, switch….case statement, gotostatement, for loop, while loop, do-while loop, break and continue statement
Unit 4 -
Declaration and accessing elements of arrays, initializing of arrays, two-dimensional arrays,multidimensional arrays, Introduction to strings, Various string functions, Introduction to Pointers, Declaration and initialization of pointers, accessing a variable through address and through pointer
Unit 5 -
Introduction to functions, Declaration, definition and return type of functions, Function arguments, Function calling- call by value and call by refernce, Recursion, Passing an array as argument to a function. Structures: Declaration and initialization, Basic concept of Union
Unit 6 -
Basic concept of file handling, Opening and closing of files using fopen(), fclose(). Binary vs text files. Reading and writing files, Random access to files
