Variable P is called a pointer variable if it: Contains the address of a data item. Points to the address of the first element in some data item. Can store only memory addresses. Contains data item and its address.
Added by William K.
Step 1
Contains the address of a data item: Yes, a pointer variable does contain the address of a data item. This is the primary function of a pointer variable. Show more…
Show all steps
Your feedback will help us improve your experience
Ali Karimiafshar and 91 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Supreeta N.
A two word instruction is stored in memory at an address designated by symbol W. The address field of the instruction (stored at W+1) is designated by symbol Y. The operand used during the execution of the instruction is stored at an address symbolized by Z. An index register contains the value X. State how Z calculated from other addresses if the addressing mode is the instruction is
Alex L.
Write the definition statement for a variable fltPtr. The variable should be a pointer to a float.
Haricharan G.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD