Strings – Find Output of Program

16. If char=1, int=4, and float=4 bytes size, What will be the output of the program ?

Screenshot 1

A. 1, 2, 4
B. 1, 4, 4
C. 2, 2, 4
D. 2, 4, 8

Correct Answer: B. 1, 4, 4

17. If the size of the pointer is 32 bits What will be the output of the program?

Screenshot 2

Screenshot 3

Correct Answer: Option C

18. What will be the output of the program?

Screenshot 4

A. t, t
B. k, k
C. n, k
D. m, f

Correct Answer: B. k, k

19. What will be the output of the program?

Screenshot 5

A. Hello
B. HelloHello
C. No output
D. ello

Correct Answer: A. Hello

20. What will be the output of the program?

What will be the output of the program

A. 10
B. 6
C. 5
D. 11

Correct Answer: D. 11

Leave A Comment?

two × 4 =