GATE | GATE CS 2013 | Question 51

In the above question, if array A is made to hold the string “abcde”, which of the above four test cases will be successful in exposing the flaw in this procedure?
(A) None
(B) 2 Only
(C) 3 and 4 only
(D) 4 only


Answer: (C)

Explanation: See http://quiz.geeksforgeeks.org/algorithms-misc-question-11/

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.