Strings – Find Output of Program


Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

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
Advertisement

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
Advertisement

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
Advertisement

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
Advertisement

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
Advertisement

Warning: Undefined variable $in_same_cat in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Leave A Comment?