adplus-dvertising
frame-decoration

Question

When is a variable placed on the Stack?

a.

When there is a specific reason why a variable must reside in RAM and not in a register.

b.

When the value is placed in a register.

c.

When there are no available registers.

d.

Both a and c

Posted under Reverse Engineering

Answer: (d).Both a and c Explanation:A variable is placed on the Stack when there are no available registers or there is a specific reason why a variable must reside in RAM and not in a register.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When is a variable placed on the Stack?