COURSE TITLE C LANGUAGE DETAILED SYLLABUS SR.NO NAME OF CHAPTERS & DETAILS HOURS ALLOTTED 1 INTRODUCTION TO C LANGUAGE About C Language Advantages of C Language Disadvantages of C Language A Sample Program in C Language Elements of the Sample Program Editing, Compiling, Linking and Execution Problems related to plateform Problems related to application Important Points regarding a C Program Some inbuilt functions kbhit(), delay(), sleep(), getch(), getche() system(), sound(), nosound() 10 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 1
2 NUMBER SYSTEM AND CONVERSION Data/Constant/Value used or supported in C Language o Numeric Data Octal Value Decimal Value Hexadecimal Value o Alphabetic Data Character Value String Value Conversion between one base to another 2 Hour 3 FUNDAMENTAL OF C LANGUAGE About Variable Variable Naming Conventions Data Types o void, char, int, float, double Character Input-Output o putchar() o getch()/getche()/getchar() Formatted Input-Output o printf() o nested printf() o scanf() Types of Variable o Local Variable o Global Variable o shadowing process in c Modifier o Signed o unsigned o short o long About sizeof() operator 18 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 2
Storage Specifiers o auto o static o extern o register Qualifiers o const o volatile o restrict 4 OPERATORS USED/SUPPORTED IN C LANGUAGE Arithmetical Operators o Simple Arithmetical (+, -, *, /, %) o Increment and Decrement (++, --) Assignment Operators o Simple Assignment (=) o Multiple Assignment (=) o Compound Assignment (+=, -=, *=, /=, %=) Relational Operators (>, <, >=, <=,!=, ==) Logical Operators (&&,,!) Bitwise Operators (<<, >>, &,, ~, ^) Special Operators Operator Order of Precedence How to handle overflow and underflow 5 CONTROL STATEMENT Selection/Decision/Conditional statement o if else Statement o Nested if else o switch case Statement o Nested switch case About ternary (?:) operator Looping/Iterative/Cyclic/Recursive/Repetitive Statement o Pre-test Loop while for 6 Hour 16 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 3
o Post-test Loop do while Non-Contiguous or Jump Statement o goto o gotoxy o break o continue o return o exit 6 POINTER About Pointer Need of Pointers Declaring Pointers Kinds of Pointer o Zero-Level Pointer o One-Level Pointer o Multi-Level Pointer Increment(++) and decrement(--) operators with pointer 5 Hour 7 ARRAY About Array Need of Array Declaring Array Kinds of Array o Single Dimensional Array Character Array Numeric Array o Multi/Two Dimensional Array Character Array Numeric Array Matrix o Matrix Representation o Matrix Addition o Matrix Multiplication 10 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 4
Sparse Matrix o Sparse Representation o Sparse Addition o Sparse Multiplication Polynomial o Polynomial Representation o Polynomial Addition o Polynomial Multiplication Hash Table 8 FUNCTION About Function Need of Function Declaring, Defining and Calling the Functions Kinds of Function o Based on Definition User Defined Function Predefined Function o Based on Call Call by Value Call by Reference o String Function o Inline Function o Recursive Function o Mathematical Function o Pointer with function 9 USER DEFINED DATA TYPE Structure o About Structure o Need of Structure o Defining Structure o Accessing Structure o Pointer with Structure o Array of Structure 6 Hour 5 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 5
Union o About Union o Need of Union o Defining Union o Accessing Union o Difference between Union and Structure enum typedef o About typedef o Using typedef 10 COMMAND-LINE ARGUMENTS About Arguments About Command-line Need of Command-line Arguments Accepting Arguments from Command-line Using the Arguments accepted from Command-line 2 Hour Appendixes: Macros Graphics File Handling www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 6