PDA

View Full Version : Accenture C Interview Question - II


careerskk
14th December 2009, 11:01 AM
Find a C Interview question from Accenture.

For more placement questions (http://www.careersvalley.com/solved-placement-papers/company/accenture) refer

Which of the following statements is true regarding static variables?

a) Which of the following statements is true regarding static variables?
b) Only local variables can be defined as static variables
c) Scope and life of global variables is limited to the function to which they are declared

Answer: Both local and global variables can be defined as static variables