What is the output of program, cout.showbase and cout.oct - C++ File Stream

C++ examples for File Stream:cout

Description

What is the output of program, cout.showbase and cout.oct

Demo Code

#include <iostream>
using namespace std;
int main(int argc, const char *argv[]) {
    cout << showbase << oct << 99 << endl << hex << 99; 

    return 0;//  w ww  .  j av a2 s  .c  om
}

Result


Related Tutorials