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

a. 1 2 3

Computer Science & Information Technology

You might also like to view...

Your portfolio pieces should be mounted

Indicate whether the statement is true or false

Computer Science & Information Technology

Smartwatches, smartglasses, and fitness trackers can be classified as _______ computers.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology