Question
Global variable are available to all functions. Does there exist a mechanism by way of which
it available to some and not to others.
Answer: Option B
Was this answer helpful ?
The only way this can be achieved is to define the variable locally in main() instead of
defining it globally and then passing it to the functions which need it.
Was this answer helpful ?
More Questions on This Topic :
Question 3.
Range of float id -2.25e+308 to 2.25e+308
....
Question 6.
Size of short integer and long integer wou....
Question 7.
Size of short integer and long integer can....
Question 8.
A float is 4 bytes wide, whereas a double ....
Question 9.
1 : typedef long a; extern int a c;2....
Question 10.
A long double can be used if range of a double&....
Submit Solution