function to print out a list of integers under a heading

What will be an ideal response?


```
void printList( const int list[], int len, const string& heading)
{
int i;

cout << heading << endl;

for( i=0; i < len; i++)
cout << list[i] << endl;

cout << endl;
}
```

Computer Science & Information Technology

You might also like to view...

You can export an Access query to an Excel spreadsheet, but you CANNOT export a report

Indicate whether the statement is true or false

Computer Science & Information Technology

Creating a bookmark and linking to it is a three-step process

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of these help desk activities involves collecting, storing, updating and sharing information among help desk workers?

A. Archive management B. Expert Systems technology C. Virtualization D. Knowledge management

Computer Science & Information Technology

The first word in the main() method is the word void.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology