
1-15
Introduction to ‘C’
In our daily life, we come across numerous algorithms for solving problems. We perform several
routine tasks, for example riding a bike, liing a phone, making a telephone call, switching on a televi-
sion set and so on.
For example, to establish a telephonic communication between two subscribers, following steps
are to be followed.
(i) Dial a phone number
(ii) Phone rings at the called party
(iii) Caller waits for the response
(iv) Called party picks up the phone
(v) Conversation begins between them
(vi) Aer the conversation, both disconnect the call
Another real life example is to access Internet through Internet ...