Question: Given the following array definitins: double array ( 1 . 2 , 3 . 2 , 4 . 2 , 5 . 2 } double
Given the following array definitins:
double array
double array;
will the following statement work? if not, why?
arrayarray;
Nothing is wrong with the statement
The assignment operator cannot be used to assign the contents of one array to another, in a single statement.
it should read arrayarray;
it should read double array;
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
