What is the output (assume int is 4 bytes)? printf("%d", (int)(sizeof(int) * 2));
What is the output (assume int is 4 bytes)?
printf("%d", (int)(sizeof(int) * 2));
Show answerHide answer
Correct answer: (C) 8
Explanation
4 × 2 = 8.
Correct answer: (C) 8
Explanation
4 × 2 = 8.
This is question 128 of DSSSB TGT Computer Science Full Mock Test 4. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.