Chapter 9: Problem 12
What are two advantages of declaring a pointer parameter as a constant pointer?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
Chapter 9: Problem 12
What are two advantages of declaring a pointer parameter as a constant pointer?
These are the key concepts you need to understand to accurately answer the question.
All the tools & learning materials you need for study success - in one app.
Get started for freeT F When you add a value to a pointer, you are actually adding that number times the size of the data type referenced by the pointer.
Write the definition of ptr, a pointer to a constant int.
The __________ operator can be used to work with the variable a pointer points to.
The __________ operator is used to dynamically allocate memory.
T F The new operator dynamically allocates memory.
What do you think about this solution?
We value your feedback to improve our textbook solutions.