CHAPTER 2

Basic Techniques

Undoubtedly, present day computers are very powerful tools, which are being used to solve a variety of problems of varying complexities. Yet they cannot solve any problem by themselves however trivial the problem may be. It is the responsibility of the computer user to provide all necessary information to the computers for it to work for us. For example, even to add just two numbers the user has to provide the necessary procedure (in the form of a program) as well as supply (input) the necessary data values and get the results (output) of the addition out of the machine. This chapter discusses few very straightforward examples by studying which the reader gets acquainted with the tricks of reading in (i.e. input operation) ...

Get Programming Techniques Through C: A Beginner's Companion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.