Question: suppose a C / C + + array data was originally declared to have 1 0 elements as follows: int nElements = 1 0 ;
suppose a CC array "data" was originally declared to have elements as follows:
int nElements ;
double data nElements;
how can the array size be increased to elements?
a by changing variable nElements to
b by redeclaring data as "double data;
cby storing a number in th position of data
derror
eimpossible
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
