What happens when you attempt to compile and run the following code?#include <iostream>using namespace std;int main(){co
Posted: Wed Aug 03, 2022 9:20 am
What happens when you attempt to compile and run the following code?#include <iostream>using namespace std;int main(){cout<<100<<" ";cout.setf(ios::hex);cout<<100<<" ";return 0;}Program outputs:
A. 100 64
B. 100 0x64
C. 0x64 0x64
D. 64 0x64 E. 100 100
A. 100 64
B. 100 0x64
C. 0x64 0x64
D. 64 0x64 E. 100 100