What is the output of program, cout.showpos - C++ File Stream

C++ examples for File Stream:cout

Description

What is the output of program, cout.showpos

Demo Code

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

    return 0;//from   ww  w . j  a  v a  2  s  . c  o m
}

Result


Related Tutorials