Question 1: What is the output of the following snippet? #include <iostream> using namespace std; int main() { float x = 0.9, y=-0.5; int i,j = 1; i = x + j + y; cout << i; return 0; } 2.4 Compilation error 1 2 …
Read More »Question 1: What is the output of the following snippet? #include <iostream> using namespace std; int main() { float x = 0.9, y=-0.5; int i,j = 1; i = x + j + y; cout << i; return 0; } 2.4 Compilation error 1 2 …
Read More »