Home / Programming Questions / Page 2

Prgramming MCQs Feed | Page - 2

(A) 0 1 2 0
(B) 0 1 2
(C) Error
(D) None of the above

(A) („cd‟)
(B) (”)
(C) („cd‟, ”, ”)
(D) (”, „cd‟, ”)

(A) ab1ef2
(B) abcefd
(C) ab1efd
(D) ab12ed2

(A) 1 1
(B) 1 44
(C) 3 1
(D) 3 44

(A) Compilation error
(B) Runtime error
(C) („Google‟, 1) („Facebook‟, 2) („Youtube‟, 3) („Microsoft‟, 2) („GFG‟, 1)
(D) None of these

(A) Compilation error due to duplicate keys
(B) Runtime time error due to duplicate keys
(C) 3
(D) 1

(A) Compilation error
(B) {„key1‟: 44, „key2‟: 566}[1, 2, 3, 4]
(C) Runtime error
(D) None of the above

(A) [[[2, 3, 9]], [[2, 3, 9]], [[2, 3, 9]]]
(B) [[2, 3, 9], [2, 3, 9], [2, 3, 9]]
(C) [[[2, 3, 9]], [[2, 3, 9]]]
(D) None of these