MC501 Programming in C: Click To Add Text Introduction To C Programming
MC501 Programming in C: Click To Add Text Introduction To C Programming
MC501 Programming in C: Click To Add Text Introduction To C Programming
PROGRAMMING IN C
INTRODUCTION TO C
Click to add Text
PROGRAMMING
White spaces
Blank space
Horizontal tab
Carriage return
New line
Form feed
Expression Statements
An expression statement consists of an expression followed by a semicolon.
The execution of an expression statement causes the expression to be
evaluated.
Example:
a = 3;
c = a + b;
++i;
printf(Area = %f,area);
;
Example:
#define STRENGTH 100
#define PASS_MARK 50
#define MAX 500
#define PI 3.14159