Automatic variables are allocated memory in ___________
(a) heap
(b) Data segment
(c) Code segment
(d) stack
I have been asked this question by my college professor while I was bunking the class.
The origin of the question is Automatic Variables in chapter C Functions and Structure of a Program of C