Strings – Find Output of Program

26. What will be the output of the program?

What will be the output of the program

Options

Correct Answer: Option C
Advertisement

27. What will be the output of the program (Turbo C in 16-bit platform DOS)?

What will be the output of the program (turbo c in 16 bit platform dos)

A. GkFeed Gk
B. GkFeed GkFeed
C. Gk Gk
D. Error

Correct Answer: B. GkFeed GkFeed
Advertisement

28. If the size of the pointer is 4 bytes then What will be the output of the program?

Screenshot 4

A. 22, 4
B. 25, 5
C. 24, 5
D. 20, 2

Correct Answer: C. 24, 5
Advertisement

29. What will be the output of the program?

Screenshot 5

A. The string is not empty
B. The string is empty
C. No output
D. 0

Correct Answer: B. The string is empty
Advertisement

30. What will be the output of the program?

Screenshot 6

A. Unpredictable integer value
B. 0
C. -1
D. Error

Correct Answer: A. Unpredictable integer value
Advertisement

Leave A Comment?