What happens when you attempt to compile and run the following code?
#include
using namespace std;
int main()
{
long int x,y=10;
double d;
d = 3.99;
x=(int) d;
cout << x <<", ";
d=float (y);
cout << d;
return 0;
}
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!