Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Consider procedure list search (L, K) to find the first element with key K in list L by simple linear search, returning pointer to its element. Arrange the correct order. 
(A) $x = L.Head$ 
(B) while $x \ne Nil$ and $x.key \ne K$ 
(C) return $x$ 
(D) $x = x.next$ 

Options 
(a) A, B, D, C 
(b) B, C, D, A 
(c) A, D, B, C 
(d) A, B, C, D





Solution



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...