C Programming Multiple Choice Questions (MCQ) | IT Developer <?php echo $page_title; ?>
IT Developer

C Programming Multiple Choice Questions (MCQ)

C Programming Multiple Choice Questions (MCQ) - Set 13



Share with a Friend

Multiple Choice Questions


C Programming - Multiple Choice Questions (MCQ) - Set 13

61. What will the value of variable a?
 int a = 4 + 4/2*5 + 20;
A). 40
B). 4
C). 34
D). 54
View Answer
Correct: C




62. What will the value of variable a?
 int a = 10 + 5 * 2 * 8 / 2 + 4;
A). 124
B). 54
C). 23
D). 404
View Answer
Correct: B




63. What will the value of variable a?
 int a = 4 + 5/2*10 + 5; 
A). 29
B). 5
C). 4
D). 34
View Answer
Correct: A




64. What will the value of variable a?
 int a = 10 + 2 * 12 /(3*2) + 5; 
A). 31
B). 19
C). 11
D). 29
View Answer
Correct: B




65. Which of the following correctly shows the hierarchy of arithmetic operations in C?
A). / + * -
B). * - / +
C). / * + -
D). + - / *
View Answer
Correct: C