Which of the following statements is false?

a. Each identifier has a scope that determines where you can use it in your pro-gram. For that portion of the program, the identifier is said to be “in scope.”
b. A local variable’s identifier has local scope. It’s “in scope” only from its defini-tion to the end of the program. It “goes out of scope” when the function returns to its caller.
c. A local variable can be used only inside the function that defines it.
d. All of the above statements are correct.


b. A local variable’s identifier has local scope. It’s “in scope” only from its defini-tion to the end of the program. It “goes out of scope” when the function returns to its caller.

Computer Science & Information Technology

You might also like to view...

Composition is sometimes referred to as a(n) ________.

a. is-a relationship b. has-a relationship c. many-to-one relationship d. one-to-many relationship

Computer Science & Information Technology

A class that implements an interface but only gives definitions for some of the method headings given in the interface is called a/an:

a. concrete class b. abstract class c. discrete class d. friendly class

Computer Science & Information Technology

MySQL is an example of a(n):

a. LAMP b. DBA c. API d. RDBMS

Computer Science & Information Technology

The keywords End SubProcedure signifies the end of a Sub procedure.

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

Computer Science & Information Technology