Which of the following is not true about Global Variables:

PYQ UGC NET 2024

Which of the following is not true about Global Variables:

  1. A.

    The values of the Global variables which are sent to the called function may be changed inadvertently by the called function.

  2. B.

    Functions are supposed to be independent and isolated modules. This character is lost, if they use global variables.

  3. C.

    It is not immediately apparent to the reader which values are being sent to the called function

  4. D.

    A function that uses global variables does not suffer from reusability.

Attempted by 452 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…