Question: c++ code only Question 33 (1 point) Given the following array values (as integers) 50 20 10 30 40 What will the array look like
c++ code only
Question 33 (1 point)

Given the following array values (as integers)
| 50 | 20 | 10 | 30 | 40 |
What will the array look like after 3 passes of selection sort into ascending order? Question 33 options:
| 10 20 50 30 40 | |
| 50 10 20 30 40 | |
| 10 20 50 40 30 | |
| 10 20 30 50 40 | |
| 20 50 10 30 40 | |
| 50 20 10 30 40 | |
| 50 40 30 20 10 | |
| 20 10 50 40 30 | |
| 10 20 30 40 50 |
Save
Question 34 (1 point)

Given the following array values (as integers)
| 50 | 20 | 10 | 30 | 40 |
What will the array look like after 4 passes of selection sort into ascending order? Question 34 options:
| 50 20 10 30 40 | |
| 20 10 50 40 30 | |
| 10 20 30 40 50 | |
| 10 20 50 40 30 | |
| 10 20 30 50 40 | |
| 50 10 20 30 40 | |
| 10 20 50 30 40 | |
| 50 40 30 20 10 | |
| 20 50 10 30 40 |
Save
Question 35 (1 point)

Using the == operator on a string variable results in the same value as using strcmp on two c-strings.
Question 35 options:
| True | |
| False |
Save
Question 36 (1 point)

A string variable and a c-string are the same data type.
Question 36 options:
| True | |
| False |
Save
Question 37 (1 point)

To declare a c-string and initialize it to the value of "phonebook",
Question 37 options:
| char s1=phonebook; | |
| char s1[10]="phonebook"; | |
| c-string phonebook; | |
| char s1[10]=phonebook; |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
