For the questions in this section assume the following decla
For the questions in this section assume the following declaration statement const double PI = 3.14/const int MAX_I = 100; double x, y = -2.0; int a = 5, b = 7, i; For the C++ instructions in questions 1 through to question 5 pick the correct statement. No part marks i = a % (MAX_I - 99); The statement results in a compiler error. 0will be stored in i. 0.0 will be stored in i. The statement results in run-time error. 5 will be stored in i. i = a % y;
Solution
const double PI=3.14;
const int MAX_I=100;
double x,y=-2.0;
int a=5,b=7,i;
i=a%(MAX_I-99);
QUESTION 1:
ANSWER: 0 will stored in i
