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

Computer Science & Information Technology

You might also like to view...

Table validation rules can only work with one field

Indicate whether the statement is true or false

Computer Science & Information Technology

The command to list all the files that have filenames that starts with letter a and ends with a number from 1to 5 is

a: ls a?1-5 b ls a[1-5]* c: ls a*[1-5] d: ls *a*[1,5]* e: ls ?a?1?5

Computer Science & Information Technology