what does a pointer contain
Answers
Answered by
0
Answer:
ᴀ ᴘᴏɪɴᴛᴇʀ ɪs ᴀ ᴠᴀʀɪᴀʙʟᴇ ᴡʜɪᴄʜ ᴄᴏɴᴛᴀɪɴs ᴛʜᴇ ᴀᴅᴅʀᴇss ɪɴ ᴍᴇᴍᴏʀʏ ᴏғ ᴀɴᴏᴛʜᴇʀ ᴠᴀʀɪᴀʙʟᴇ. ᴡᴇ ᴄᴀɴ ʜᴀᴠᴇ ᴀ ᴘᴏɪɴᴛᴇʀ ᴛᴏ ᴀɴʏ ᴠᴀʀɪᴀʙʟᴇ ᴛʏᴘᴇ. ᴛʜᴇ ᴜɴᴀʀʏ ᴏʀ ᴍᴏɴᴀᴅɪᴄ ᴏᴘᴇʀᴀᴛᴏʀ & ɢɪᴠᴇs ᴛʜᴇ ``ᴀᴅᴅʀᴇss ᴏғ ᴀ ᴠᴀʀɪᴀʙʟᴇ''
Answered by
0
Answer:
A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type. The unary or monadic operator & gives the ``address of a variable''.
Similar questions