Manipulator used for representing octal equivalent of given decimal number - Operator Overloading

Q.  Which of the following manipulator is used for the representing octal equivalent of a given decimal number?
- Published on 19 Jul 15

a. oct
b. setbase(8)
c. tobase(8)
d. both a and b
e. all a, b, c

ANSWER: both a and b

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)