Question: 5. Write the declaration for which, a pointer to a constant char. 6. Declare a constant object of the class Student. Assume that the default
5. Write the declaration for which, a pointer to a constant char.
6. Declare a constant object of the class Student. Assume that the default constructor for the class will supply suitable values for the data members (i.e., you don't need to supply any).
7. For the next four questions, assume that you have the following variable declaration, which is placed at the top of a source code file called quiz6.cpp, outside of any function definition: int studentCount = 0; What is the storage class of this variable?
8.What is the scope of this variable?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
