What happens when you attempt to compile and run the following code?
#include
using namespace std;
int main()
{
float x=3.5,y=1.6;
int i,j=2;
i = x + j + y;
cout << i;
return 0;
}
It prints: 7
It prints: 6
It prints: 7,1
Compilation error
Submit