What is printed by the program that follows?
```
#include
using namespace std;
int main ()
{
float ad1 (float); float trp1 (float); float hlf (float);
cout << hlf (trp1 (ad1 (8.2)));
return 0;
}
float ad1 (float x)
{
return x++;
}
float trpl (float x)
{
return 3.0 * x;
}
float hlf (float x)
{
return 0.5 * x;
}
```
13.8
You might also like to view...
Answer the following statements true (T) or false (F)
1. The efficiency of the selection sort depends on the initial arrangement of the data. 2. For large arrays, the insertion sort is prohibitively inefficient. 3. In a recursive mergesort, the actual sorting occurs during the recursive calls. The merge step simply puts two array segments together again. 4. To sort numeric data, the radix sort treats each number as a character string. 5. Insertion sort can be implemented as in-place sort. 6. Quick sort can be slower than insertion sort.
Which of the following is not a GUI component (control or widget)?
a. String. b. Button. c. Menu. d. Combo box.