Strings – Find Output of Program

31. What will be the output of the program in Turbo C?

What will be the output of the program in turbo c

A. Gk Feed
B. Feed
C. Gk
D. Error

Correct Answer: D. Error
Advertisement

32. What will be the output of the program?

Screenshot 3

A. Equal
B. Unequal
C. Error
D. None of above

Correct Answer: B. Unequal
Advertisement

33. What will be the output of the program?

What will be the output

A. Gk Feed
B. Feed Gk
C. Gk Gk
D. Feed Feed

Correct Answer: B. Feed Gk
Advertisement

34. What will be the output of the program?

Screenshot 5

A. Error
B. d
C. e
D. abcdefgh

Correct Answer: C. e
Advertisement

35. What will be the output of the following program in a 16-bit platform assuming that 1022 is the memory address of the string “Hello1” (in Turbo C under DOS)?

A. 1022 Hello2
B. Hello1 1022
C. Hello1 Hello2
D. 1022 10

Correct Answer: A. 1022 Hello2
Advertisement

Leave A Comment?