What happens when you attempt to compile and run the following code?
#include
using namespace std;
int main ()
{
float f = 10.126;
cout.unsetf(ios::floatfield);
cout<return 0;}Program outputs: A10.126 10 B10.126 10.12 C10.1260 10.13 D10.126 10.13 Show Suggested Answer Hide Answer Suggested Answer: C
return 0;
}
Program outputs:
Limited Time Offer
25%
Off
Currently there are no comments in this discussion, be the first to comment!
Currently there are no comments in this discussion, be the first to comment!