Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Connect with Universities & Study Abroad Experts Instantly Connect Now

Q.

Regarding the scope of the variables identify the incorrect statement:

A Automatic variables are automatically initialized to 0
B Static variables are automatically initialized to 0
C The address of a register variable is not accessible
D Static variables cannot be initialized with any expression
Answer & Explanation
Option: [A]

By default Automatic variables are initialized to Garbage value.

Your Valuable Comments Please...

Useful Computer Science EBooks