0% found this document useful (0 votes)
8 views1 page

Pointers Assignment

Chapter 11 covers pointers, including their definition, declaration, and initialization. It discusses advantages of pointers, operations that can be performed on them, and differences between static and dynamic memory allocation. The chapter also explores relationships between arrays, strings, objects, and pointers, as well as pointer arithmetic and memory management using new and delete operators.

Uploaded by

vikramsb711
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Pointers Assignment

Chapter 11 covers pointers, including their definition, declaration, and initialization. It discusses advantages of pointers, operations that can be performed on them, and differences between static and dynamic memory allocation. The chapter also explores relationships between arrays, strings, objects, and pointers, as well as pointer arithmetic and memory management using new and delete operators.

Uploaded by

vikramsb711
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CHAPTER 11

POINTERS

Three marks questions:

1. What is a pointer? Give the declaration and initialization of a pointer.


2. Give any three advantages of pointers?
3. Write any three operations that can be performed on pointers.
4. Give any three differences between static and dynamic memory allocation.
5. Briefly explain static memory allocation.
6. Briefly explain dynamic memory allocation.
7. What is an array of pointers? Explain with an example.
8. What is the relationship between array and pointers?
9. What is the relationship between string and pointers?
10. What is the relationship between object and pointers?
11. Give any three arithmetic operators that can be used on pointers.
12. What are the operations that cannot be performed on pointers?
13. Explain pass by reference with an example.
14. Explain pass by pointers with an example.
15. Explain new and delete operator.

You might also like