Let Us C

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Let us C

Constants

Let us C 1
Reserved words

Hierarchy of Operators

Let us C 2
Let us C 3
If statement

The Loop Control Structure

Let us C 4
Tips and Traps
The general form of while is as shown below:

while ( test loop counter using a condition ) { do this ;


initialise loop counter ;
and this ;
increment loop counter ;
}

Let us C 5
Let us C 6
Let us C 7
Let us C 8
Let us C 9
Passing values between fuctions

Let us C 10
The variables a, b and c are called ‘actual arguments’, whereas the variables x, y
and z are called ‘formal arguments’. Any number of arguments can be passed to a
function being called. However, the type, order and number of the actual and formal
arguments must always be same.

Let us C 11

You might also like