Question
i need some help with this questions
S 2202 EXAM One dimessionat ay (25 pb What thls code printr o Co aing narespace stdi int nurbersisriri {1, 2, 4, b); // tn it tatize tirst 4 eierents coutere aru the eohtente of the azra c nunberat index return 0s Topic Cover One and two dimensiona arroy (25 pts) 2.1 Filling the blanks for the following Questions a Seescrips numbeing C++always suns a b. When a churacter seray is initinlined with a string lite, tha s automatically icrodea the end c H the size decluracce of an aray definition is omicied, C++ counts the mamber of items in to deteminsie how laige the array shrould be. a. When a twu-dimessioanl aay is passed to a function The Slee must be spocilved 2.2 True or faise section The individual elemenls or an aray are nccessed and indexed by nisgue wambers. - Ir you leave cut rhe size declarar at anmay definition, you do not have to Initializing an array with a string, the nul erninator is automatically included. b. The subscript of the last elemen in a single-dimensional anay is one less than the The subscript of ihe last elemens in a single-dimensional arm otal number of elcments in the array Ir you leave cut the size include an initialieacion list. d you cannot use the assignment operator to copy one array's costents to another in a single statement
Explanation / Answer
1) 1 2 4 8 0 0 0
2.1)
a) 0
b)
c) string/list
d) column
2.2)
a) True
b) True
c) False
d) True
e) True