Answer the following statements true (T) or false (F)
1. In the following program outline the name var1 is visible (can be referenced) in the function fun.
int fun (int a, int b);
const int var1 = 5;
int main ()
{
…
}
int fun (int a, int b)
{
int c;
…
}
2. The string class is part of the C++ standard library.
3. The file money.h is called the implementation file.
4. A function prototype must be terminated with a semicolon.
5. It is best to wait until the whole program is written before testing your functions.
1. True
2. True
3. False
4. True
5. False
You might also like to view...
Case Based Critical ThinkingCase 1You want to create content for the iPad. Answer the following questions about how to get started. In order to view InDesign content on your iPad, which of the following do you need?
A. Folio Builder B. Adobe Content Viewer C. Adobe App Builder D. New Folio viewer
In the figure above, which number refers to the icon used to begin recording?
A. 1 B. 2 C. 3 D. 4
____ lists have diminished in popularity with the rise in usage of social networking tools.
A. Contact B. Address C. Mailing D. Synchronous
Hyperlinks are commonly added to e-mail addresses
Indicate whether the statement is true or false