You have the following macro statementsdefine width 5define


You have the following macro statements:

#define WIDTH 5
#define HEIGHT 3

You wish to copy a multidimensional array called anArray declared as follows:

int anArray[HEIGHT][WIDTH];

Which statement should you use to declare the single dimensional array called copied that will hold all of the copied values from anArray?

A. int copied[HEIGHT * WIDTH];
B. int copied[HEIGHT+WIDTH];
C. int copied[];
D. int copied[WIDTH];

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: You have the following macro statementsdefine width 5define
Reference No:- TGS01190606

Expected delivery within 24 Hours