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
Advertisement

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
Advertisement

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
Advertisement

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
Advertisement

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
Advertisement

Leave A Comment?