CPA – Programming Essentials in C++ Summary Test Exam Answers
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; } Question 2: What is the output of the following snippet? … Read more