Display hexadecimal integer literals and decimal integer literals.
#include <iostream> using namespace std; int main() { cout << "Value of 0xFF = " << 0xFF << " decimal" << endl; cout << "Value of 27 = " << hex << 27 <<" hexadecimal" << endl; return 0; }