Site icon Exam4Training

What is the output of the following snippet?

What is the output of the following snippet?

A . [‘Mary’, ‘had’, ‘a’, ‘little’, ‘lamb’]
B . [‘Mary’, ‘had’, ‘a’, ‘lamb’]
C . [‘Mary’, ‘had’, ‘a’, ‘ramb’]
D . No output, the snippet is erroneous

Answer: D

Exit mobile version