EXERCISES
  1. Explain why language supports type double and long when type int and float exists.
  2. What are the typical uses of type reference?
  3. Explain the two-step process of automatic type conversion during evaluation of expressions.
  4. Describe the syntax and state the advantage of typedef facility.
  5. Write a note on selecting an appropriate control structure for a particular task.
  6. Explain what is meant by term block. Comment on the scope of variables declared in a block.
  7. Read five real numbers (float) and find its average.
  8. Write a program to accept a character from the user in variable ch and display its ASCII value.
  9. Find the diameter, circumference and area of circle with given radius.
  10. Estimate the time needed for a stone to fall from height of 3000 ...

Get Object Oriented Programming with C++, Second Edition 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.