subject

Which of the following statements about global variables is true? (a) a global variable is declared in the highest-level block in which it is used.(b) a global variable can have the same name as a variable that is declared locally within a function.(c) global variables cannot be declared in c++. (d) a global variable is accessible only to the main function.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, marshunsanders
What must you do before formatting a paragraph?
Answers: 1
image
Computers and Technology, 22.06.2019 22:20, kaiyerecampbell95
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
image
Computers and Technology, 24.06.2019 14:30, heathersloan274
Which computer network component connects two different networks together and allows them to communicate? a is a node (or a device) that connects two different networks together and allows them to communicate.
Answers: 1
image
Computers and Technology, 24.06.2019 16:00, deepunalli300p3ur3i
Your is an example of personal information that you should keep private.
Answers: 2
You know the right answer?
Which of the following statements about global variables is true? (a) a global variable is declared...

Questions in other subjects:

Konu
Biology, 06.03.2021 02:00