Question: Which of the following initialization of elements is invalid declared to an array? a int myArray[3]={10,20,30,40}; b int myArray[3]={10,20}; c int myArray[3]={0}; d int myArray[3]={10,20,30};
Which of the following initialization of elements is invalid declared to an array?
a int myArray[3]={10,20,30,40};
b int myArray[3]={10,20};
c int myArray[3]={0};
d int myArray[3]={10,20,30};
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
