[ fromfile: scopestorage-questions.xml id: questions-scopestorage ]
What is a scope? What kinds of "things" have a scope?
What is a storage class? What kinds of "things" have a storage class?
When are static
objects initialized? Be sure to consider both globals and block scope objects.
How does const
act as a scope modifier?
What does extern
mean?
The keyword static
has many meanings depending on where it is used.
Explain how static
can be used as a scope modifier.
Explain how static
can be used as a storage-class modifier.
Give another use for the keyword static
.
What is the storage class of an object defined in a namespace
?
What is special about a pointer to an object declared using the keyword register
?
What is the difference between a class
and a namespace
?
What must you do if you want to declare an object in the header file of a namespace
without defining it?
Generated: 2012-03-02 | © 2012 Alan Ezust and Paul Ezust. |