Programming in C
- Deepti H. Ail
Introduction to C Programming
• A powerful, general-purpose programming
language.
• Developed by Dennis Ritchie in 1972 at Bell Labs.
• Known for its efficiency, portability, and flexibility.
• Forms the foundation for many modern languages
like C++, Java, and Python.
Introduction to C Programming
C is the foundation of many modern languages
Fast & Efficient – Used in system programming & real-
time applications
Portable – Runs on different operating systems
Structured & Procedural – Helps write clean and
efficient code
Memory Control – Direct access to memory (pointers)
Widely Used – OS development, embedded systems,
game engines
Basic Structure of C
Function Name
main()
Start of Program
{
Program Statements Program Statements
} End of Program
In every C program, the primary function must be named
main. This function acts as the entry point for program
execution and typically manages the flow by invoking other
functions within the program.
Topics Covered
Basics of C Programing and installation
Session 1
Constants, Variables, Keywords, Comments and Structure of C
Operators and Expressions
Arithmetic, Relational, Logical, Assignment Operators and Arithmetic Expressions
Decision Making
Looping (while, do, for)
Functions in C
Pointers in C
Arrays
Strings
Structures
File Handling in C
Dynamic Memory Allocation
Introduction to C Programming
Thank You