Question 17211 – NTA UGC NET DEC-2022 Paper-2
May 24, 2024Question 1428 – Algorithms
May 25, 2024Question 4622 – UGC NET CS 2006 June-Paper-2
A static variable is one :
Correct Answer: C
Question 12 Explanation:
A static variable is one which retains its value throughout the life of the program. The static storage class instructs the compiler to keep a local variable in existence during the life-time of the program instead of creating and destroying it each time it comes into and goes out of scope.
Which cannot be initialized
Which is initialized once at the commencement of execution and cannot be changed at runtime
Which retains its value throughout the life of the program
Which is the same as an automatic variable but is placed at the head of a program
Subscribe
Login
0 Comments