What is the output of this code?
int arr[] = { 1, 2, 3};
for (int &element : arr)
element+=10;
for (int element : arr)
cout << element << endl;
a. 1 2 3
b. 11 12 13
b. 11 12 13
Computer Science & Information Technology
You might also like to view...
The ____ tag was historically used to add bold style to text.
A.
B.
Computer Science & Information Technology
Excel uses dashed blue lines to indicate manual page breaks
Indicate whether the statement is true or false
Computer Science & Information Technology
Click the ____ button in the Chart Layouts group to choose a chart layout from the Layout Gallery.
A. Chart Style B. Chart Layout C. Quick Access D. Quick Layout
Computer Science & Information Technology
Which of the following ADTs is like a line of people?
a) list b) stack c) queue d) tree
Computer Science & Information Technology