Question: It s a syntax error to provide more initializers in an array initializer list than there are array elements for example, int n [ 3

Its a syntax error to provide more initializers in an array initializer list than there are array elementsfor example, int n[3]={32,27,64,18}; is a syntax error, because there are four initializers but only three array elements

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!