Strings – Find Output of Program

21. What will be the output of the program?

What will be the output

A. Garbage value
B. Error
C. No output
D. Feed

Correct Answer: A. Garbage value

22. What will be the output of the program?

What will be the output of below program

A. Error
B. GkFeed
C. Base address of str
D. No output

Correct Answer: A. Error

23. What will be the output of the program?

Screenshot 3

A. Kagpur, Kanpur
B. Nagpur, Kanpur
C. Kagpur, anpur
D. Error

Correct Answer: D. Error

24. What will be the output of the program?

What will be the output of this program

A. Error
B. GkFeed
C. Feed
D. None of above

Correct Answer: C. Feed

25. What will be the output of the program?

Screenshot 5

A. The sentence will get printed in the same order as it entered
B. The sentence will get printed in reverse order
C. Half of the sentence will get printed
D. None of above

Correct Answer: B. The sentence will get printed in reverse order

Leave A Comment?

7 + 19 =