Syllabus
Fundamentals in C
-
History of ‘C’
-
A Simple C Program
-
Program execution phases
-
Backslash character constants
-
Character set
-
Constants
-
Number systems
-
Format specifiers
-
Identifiers
-
Keywords
-
Variables
-
Data Types
-
Declaration of Variable
-
Assigning Values to Variables
-
Initialization
-
Comments
-
Const Qualifier
-
Basic Structure of a ‘C’ program
-
Programming Examples
Operators and Expressions
-
Arithmetic operators
-
Increment and decrement operators
-
Relational operators
-
Logical operators
-
The bitwise operators
-
The assignment operators
-
The conditional operator
-
The size of operator
-
The comma operator
-
Type casting operator
-
Other operators
-
Precedence and order of evaluation
-
Programming Examples
Data types
-
Modifiers
-
Format specifiers
-
Dealing with each data types
-
Memory representation of each type
-
Programming Examples
Input-Output Library Functions
-
Unformatted I-O Functions
-
Single Character Input-Output
-
String Input-Output
-
Formatted I-O Functions
-
printf() Width Specifier
-
scanf() Width Specifier
-
Programming Examples
Control statements
-
Conditional Control Statements
-
if
-
if-else
-
nested if-else
-
else-if ladder
-
Multiple Branching Control Statement
-
switch-case
-
Loop Control Statements
-
while
-
do-while
-
for
-
Nested Loops
-
Jump Control statements
-
break
-
continue
-
goto
-
exit
-
return
-
Programming Examples
Function
-
What is function?
-
Why function?
-
Advantages of using functions
-
Function Prototype
-
Defining a function
-
Calling a function
-
Return statement
-
Types of functions
-
Recursion
-
Nested functions
-
main() function
-
Library Function
-
Local and global variables
-
Programming Examples
Pointer
-
Def of Pointer
-
Declaration of Pointer Variables
-
Assigning Address to Pointer
-
Variables
-
De-referencing Pointer Variables
-
Pointer to Pointer
-
Pointer Arithmetic
-
Pointer comparisons
-
De-reference and increment pointer
-
Programming Examples
Pointer and Function
-
Parameter Passing Techniques – call by value, call by address
-
Using Pointers as Arguments Function Returning value
-
Returning More than one value From A Function
-
Functions Returning Address
-
Function Returning Pointers
-
Dangling pointer
-
Pointer to a Function
-
Calling A function through function pointer
-
passing A function’s address as an
-
Argument to other function
-
Functions with variable number of arguments
-
Programming Examples
Array
-
One dimensional arrays
-
Declaration of 1D arrays
-
Initialization of 1D arrays
-
Accessing element of 1D arrays
-
Reading and displaying elements
-
Two dimensional arrays
-
Declaration of 2D arrays
-
Initialization of 2D arrays
-
Accessing element of 2D arrays
-
Reading and displaying elements
-
Programming Examples
Pointer and Array
-
Pointer and one dimensional arrays
-
Subscripting pointer variables
-
Pointer to an array
-
Array of pointers
-
Pointers and two dimensional arrays
-
Subscripting pointer To an array
-
Programming Examples
Strings
-
strings versus character arrays
-
Initializing strings
-
Reading string
-
Displaying string
-
The %s format specifier
-
The gets() and puts() functions
-
string handling functions
Command line arguments
-
why command line?
-
What are command line arguments?
Preprocessor
-
What is preprocessing?
-
Macro expansions
-
File inclusions
Structure
-
Why is structure used?
-
What is structure?
-
Advantages of structures
-
Defining a Structure
-
Declaration of Structure Variables
-
Initialization of Structure Variables
-
Accessing Structure Members
-
Storage of Structures in Memory
-
Size of Structures
-
Reading and Displaying Structure Variables
-
Assignment of Structure Variables
-
Pointers to structures
-
Array of structures
-
Nested structures
File Handling
-
Using files in C
-
Buffer and streams
-
Working with text files and Binary
-
Files
-
File operations using std. library and system calls
-
File management I/O functions
-
Random Access Files