×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which of the following statement is correct about the global variable?

63. Which of the following statement is correct about the global variable?

  1. A variable defined inside the function or block is known as a global variable.
  2. A variable defined outside the function or block is known as a global variable.
  3. Global variables can only declare inside the “.h” file.

Answer: B) A variable defined outside the function or block is known as a global variable.

Explanation:

The 2nd statement is correct about the global variable.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.