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
You might also like to view...
Which of the following is not used to assign a value to a variable?
(A) InputBox statement (B) Dim statement (C) an assignment statement (D) MessageBox.Show statement
An Apache Web server's ____ host is the first declared virtual host in the configuration file.
A. default B. local C. physical D. logical
PCI adapters can install into a PCIe or PCI expansion slot
Indicate whether the statement is true or false
In which of the following areas are you least likely to find examples of automation?
A. Cleanup efforts in a toxic environment B. Technical writing C. Microprocessor manufacturing D. Retail store checkout lines