Hi
this is C++
do not give me a long answer.
please be clear with your answer also, cleanhandwriting……
15) 9 pts. What is the value of the following Booleans. Assumethe following data:
int p=5, j=3, k=4;
bool t1, t2, t3;
t1 = p < j && k;
t2 = p/k < j;
t3 = p<4 || j < 2 || k < 5;
18) 12 pts. The following code compiles, even though there aretwo declarations of the variable purple. Why is that?
{
int purple;
}
{
double purple;
}
19) 6 pts. When does the default section of a switch statementget executed?
20) 12 pts. The loop below never ends. Why?
for (int k=2;k!=5;k+=2)
cout << “blah”;
Expert
OR
PayPal Gateway not configured
OR
PayPal Gateway not configured
PayPal Gateway not configured
PayPal Gateway not configured