Introduction To C Programming
Introduction To C Programming
What is C Programming?
• C is a high-level programming language
developed by Dennis Ritchie in 1972.
Basic Syntax
• A C program consists of functions and
statements, with main() as the entry point.
Variables and Data Types
• C supports various data types like int, float,
char, and double.
Control Structures
• Common structures include if-else, loops (for,
while), and switch-case.
Simple C Program
• Example:
• #include <stdio.h>
• int main() { printf("Hello, World!"); return 0; }