What is the output of the following code:
int r = 3, s = 2, t = 4;
if ((r = = 4) || !(s < t))
r = r – 1;
else
r = r * 2;
r = r + t;
cout << r;
a) 6
b) 10
c) 5
d) 4
b) 10
Computer Science & Information Technology
You might also like to view...
All forms of journalism fit in with Bayles' three attributes of a profession.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Which of the following is NOT a likely complaint of someone who spends his or her workday using the computer?
A. lower back pain B. emotional fatigue C. high blood pressure D. muscle fatigue
Computer Science & Information Technology