What kind of statement uses an array initializer to create an integer array that consists of even numbered integers from 2 to 10 inclusive?
Thank you
Printable View
What kind of statement uses an array initializer to create an integer array that consists of even numbered integers from 2 to 10 inclusive?
Thank you
int num[ ]={2,4,6,8,10};
this statement will create an integer array num[ ] of desired values but this is of course one of the many ways possible.
bye