Strings – Find Output of Program

6. What will be the output of the program If characters ‘a’, ‘b’ and ‘c’ enter are supplied as input?

Screenshot 1

A. abc abc
B. bca
C. Infinite loop
D. cba

Correct Answer: D. cba

7. What will be the output of the program?

What will be the output of this program

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

Correct Answer: C. Gk

8. What will be the output of the program?

What will be the output of this

A. Error
B. GkFeed
C. Cannot predict
D. None of above

Correct Answer: C. Cannot predict

9. What will be the output of the program?

Screenshot 4

A. Suresh, Siva, Sona, Baiju, Ritu
B. Suresh, Siva, Sona, Ritu, Baiju
C. Suresh, Siva, Baiju, Sona, Ritu
D. Suresh, Siva, Ritu, Sona, Baiju

Correct Answer: B. Suresh, Siva, Sona, Ritu, Baiju

10. What will be the output of the program?

What will be the output

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

Correct Answer: C. 5

Leave A Comment?

18 + 6 =