Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you take addresses of variables on the heap? A: No , variables on the heap are in registers and do not have memory addresses.
Can you take addresses of variables on the heap?
A: No variables on the heap are in registers and do not have memory addresses.
B: Yes you can, but you generally should not for performance reasons.
C: Yes you can, and it allows you to pass those variables around without copying them.
D: No you cannot; that is not allowed since the C standard.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started