C programming

The objectives of this course are to make the student understand programming language, programming, concepts of Loops, reading a set of Data, stepwise refinement, Functions, Control structure, Arrays. After completion of this course, the student is expected to analyze the real-life problem and write a program in ‘C’ language to solve the problem.

Uses of C Language

At first, you may overlook the fact that C is an important language. If you need to develop a mobile app, you need Java (for Android), Swift and Objective C (for iOS). And there are dozens of languages like C#, PHP, ASP.net, Ruby, Python for building a web application.
Then, where is C programming?

Python is used for making a wide range for applications. And, C is used for making Python. If you want to contribute to Python, you need to know C programming to work on Python interpreter. Some of the larger of open source projects where C programming is used are Linux Kernel, Python Interpreter, SQLite Database.

C COURSE CONTENT

1. Introduction to Programming
    History and Features of C
    The Structure of a C Program
    Writing C Programs
    Data Type, Variable
    Operators
2. Control Statement
    The IF.....ELSE Statement
    IF......ELSE ladder
    Nesting of IF.....ELSE Statements
    The Switching Statements
    The do-while Statement
    The while statement
    FOR Statements
3. Function in C
    Advantage of Function
    Passing arguments, retuning one value
    Recursion
4. Array in C
    Array : What and Why?
    One Dimensions Arrays
    Two Dimensions Arrays
5. String Handling
    Reading String
    Writing String to Screen
    String Handling Functions


6. Pointers in C
    Introduction to Pointer
    Call by value vs. Call by references
    Pointer and Arrays
    Pointers and Character String
    Pointers to Functions
7. Structures and Unions
    Defining a Structure
    Advantage of Structure
    Size of Structure
    Arrays of Structures
    Pointers and Structures
    Defining Unions
8.File Management in C
    Introduction to File Management
    Opening/Closing a File
    Input/output operations on Files
    Command Line Arguments
9. Preprocessor
    Macro
10. Dynamic Memory allocation
    Introduction to Dynamic Memory Allocation
    Malloc
    Calloc
    Realloc
    Free