adplus-dvertising
frame-decoration

Question

The statement int n[4] = {11, -13, 17, 105};

a.

assigns the value -13 to [2]

b.

assigns the value 17 to n[2]

c.

is wrong; it gives an error message

d.

assigns the value 18 to n[2]

Answer: (b).assigns the value 17 to n[2]

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The statement int n[4] = {11, -13, 17, 105};