InterviewSolution
Saved Bookmarks
| 1. |
Write My Own Zero-argument Manipulator That Should Work Same As Hex? |
|
Answer» ANSWER :This is shown in following program. #include ostream& myhex ( ostream &o ) { o.setf ( ios::hex) ; return o ; } VOID MAIN( ) { cout << endl << myhex << 2000 ; } |
|