C Programming Syllabus

1Introduction
2Types, Operators and Expressions
  • Data types and Sizes
  • Enum Data Type
  • Type conversions
  • Constants
  • String Constants
  • Assignment operators
  • Bit operators
  • Ternary operator
  • Increment and decrement operator
  • Precedence and order of evaluation of operators
  • A program to print Fahrenheit - Celsius Table
3Flow Control
  • if-else
  • Switch
  • while
  • do-while
  • for
  • Break and Continue
  • Check weather a given number is even or odd
  • Check the largest number from given numbers
  • Create a simple Calculator
  • Calculate the sum of natural numbers
  • Read input until user enter a positive integer
  • Check wheather given number is Prime or not
  • Find the factorial of a given number
  • Print half pyramid using *
  • Count number of digits in an integer
  • Check wheather given number is amstrong or not
  • Print a star pattern
  • Check wheather given number is palindrome or not
  • Generate fibonacci sequence
4Functions
  • Basics of Functions
  • Storage Classes
  • Recursion
  • Swapping two variables
5Arrays
  • One Dimensional Arrays
  • Row Major and Column Major order in Two Dimensional Arrays
  • Binary addressing of Two Dimensional Arrays
  • Determine wheather two arrays a and b have an element in common
6Pointers
  • Introduction to pointers
  • Pointers and Functions
  • Pointers and Arrays
  • Pointer Arithmetic
  • Array of Pointers
  • Multidimensional Arrays
  • Pointers to Functions
  • Complex Declarations
7Strings
  • String operations
  • strcpy()
  • strcat()
  • strcmp()
  • Reversing a String
  • Counting Characters
  • itoa() operation
8Structures and Unions
  • Introduction
  • Malloc, Free
  • Self Referential Structures
  • Array of Structures
  • Example on structures, arrays and pointers
9File Input/Output
  • File handling
  • fseek(), ftell()
  • File reading and writing by using putc() and getc()
  • Counting the number of lines
  • fscanf(),fprintf()