Multiple Choice
What is value of x after the following code executes? int x = 0; int i; for (i = 0; i < 5; i++) x = 3 * x + i;
A) 18
B) 58
C) 179
D) 226
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q18: What is the output of the following
Q19: The above code is an example of
Q20: Which of the following is the initial
Q21: Which of the following is NOT a
Q22: The above code is an example of
Q24: What is the output of the following
Q25: A syntax error will result if the
Q26: Which of the following does not have
Q27: If a continue statement is placed in
Q28: What is the tenth Fibonacci number in