HCL Company Programming Database

4) Neha wants to write a program that converts a decimal number into a binary number.
Which of the following data structures should she use to
implement the same?
(a) Queue (b)Stack (c)Array (d)Linked List

Read Solution (Total 9)

HCL Other Question

3) How can a call to an overloaded function be ambiguous?
(a) By misspelling the name (b) There might be two or more functions with the same name
(c)There might be two or more functions with equally appropriate signatures
(d)None of these
6) Which of the following options describes a tree
(a)An unconnected graph (b) A connected graph (c) A connected acyclic graph
(d)A complete graph