C PROGRAMMING NOTES
Introduction to C
C is a procedural programming language developed by Dennis Ritchie.
It is widely used for system programming.
Features of C
Simple and efficient
Structured language
Fast execution
Portable
Data Types and Variables
int, float, char, double are basic data types.
Variables store data values.
Control Statements
if, if-else, switch
for, while, do-while loops
Functions and Pointers
Functions are reusable blocks of code.
Pointers store address of variables.