What is the output of the function call strange (6) given the following definition?
void strange (int n)
{
if (n > 1)
{
cout << n + 1 << “ “ << endl;
strange (n-2);
cout << n-1 << “ “ << endl;
}
}
7 5 3 1 3 5
Computer Science & Information Technology
You might also like to view...
The ________ attribute defines the number of columns in a framed document
Fill in the blank(s) with correct word
Computer Science & Information Technology
Table validation rules can only work with one field.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
You can filter the PivotTable report by ____.
A. Total 2014 Sales B. Revenue Venue C. Total 2015 Sales D. Average 2014 Sales
Computer Science & Information Technology
Which of the following integral type can NOT be used to store negative values?
A. sbyte B. long C. int D. uint
Computer Science & Information Technology