Question: Which of the following is the correct initialization statement for an array x ? int X [ ] = { 1 0 , 2 0

Which of the following is the correct initialization statement for an array x?
int X []={10,20,30};
int X (9)=[10,20,20];
int X [6]= new X [4];
int x= new int ;
Which of the following is the correct

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!