this is C++
do not give me a long answer.
please be clear with your answer also, clean handwriting......
15) 9 pts. What is the value of the following Booleans. Assume the 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 are two declarations of the variable purple. Why is that?
19) 6 pts. When does the default section of a switch statement get executed?
20) 12 pts. The loop below never ends. Why?
for (int k=2;k!=5;k+=2)
cout << “blah”;