Global Computers, Mahal, Nagpur

C Programming SYLLABUS

 

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 assignment operators

 –The conditional operator

–The size of operator

–The comma operator

–Type casting operator

–Other operators

–Precedence and order of evaluation

–Programming Examples

–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

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

–Types of storage class

–Scoping rules

–Dealing with all storage classes

–Programming Examples

Definition of Pointer

–Declaration of Pointer Variables

–Assigning Address to Pointer Variables

–Pointer to Pointer

 –Pointer Arithmetic

–Pointer comparisons

–pointer to const data

–const pointer

–const pointer to const data

–Null pointer

–Programming Examples

–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

–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

–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 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

–1D array and function

–Passing individual array elements to a function

–passing individual array elements address to a function

–passing whole 1d array to a function

–2D array and function

–Passing individual array elements to a function

–passing individual array elements address to a function

–using arrays of function pointer

–Programming Examples

Dynamic memory allocation

–malloc() –calloc() –realloc() . –free()

–Dynamic 1D and 2D Arrays

–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

–string pointers

–Two-dimensional character arrays or array of string

–array of pointers to strings

–Programming Examples

Command line arguments

–what is command prompt?

–why command line?

–What are command line arguments?

–Programs using command line 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

–Arrays within structures

–Nested structures

–Bit fields

–Programming Examples

Structure and Function

–Passing structure member to a function

–Passing structure variable to a function

–Passing structure variable address to a function

–Passing array of structure to a function

–Returning a structure variable from function

–Returning a structure variable address from function

–Returning structure variable from a function

–Programming Examples

Union and Enumeration and typedef

–What are unions?

–Structures versus unions

–Working with unions

–Initializing unions

–Advantages of unions

–enum keyword

–typedef keyword

–Programming Examples

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

–Programming Examples