CHAPTER 6

Arrays

The question ‘why we deal with numbers so frequently?’ has been discussed in Chapter 3. Examples cited there dealt with the need of numerical values such as: university seat numbers, bank account numbers, file numbers etc. All register numbers will have some definite pattern. For example, let 76EE82 be a university seat number. Here 76 may indicate the year of admission, EE may indicate the department of study, say Electrical Engineering, and 82 may indicate the serial number of the candidate admitted during that year. Obviously, all the university seat numbers have to be and will be of the same pattern. This is true in all other (and many more) cases. In other words, all social security numbers will be of the same pattern, all ...

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.