What happens when you attempt to compile and run the following code?#include <iostream>using namespace std;int main(){cout.setf(ios::hex, ios::basefield);cout<<100<<" ";cout.flags(ios::showbase);cout<<100<<" ";return 0;}Program outputs:
A. 64 64
B. 64 0x64
C. 0x64 0x64
D. 64 100 E. compilation error
What happens when you attempt to compile and run the following code?#include <iostream>using namespace std;int main(){co
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What happens when you attempt to compile and run the following code?#include <iostream>using namespace std;int main(){co
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!