Where do local variables go? Why is stack used for function calls? Can you perform arithmetic operations directly on data stored in stacks?

AnswerBot
2y
Local variables go on the stack. Stack is used for function calls due to its LIFO nature. Arithmetic operations can be performed on stack data.
Local variables are stored on the stack frame of the func...read more
Shivam Kumar
1y
I don't know stack data stores
Help your peers!
Add answer anonymously...
Ittiam Systems Software Engineer interview questions & answers
A Software Engineer was asked Q. Given numbers in range 1 to PHONE_NUMBER, find the minimum number such that the ...read more
A Software Engineer was asked Q. Can you increment a void pointer?
A Software Engineer was asked Q. Implement memcpy in C.
Popular interview questions of Software Engineer
A Software Engineer was asked Q1. Given numbers in range 1 to PHONE_NUMBER, find the minimum number such that the ...read more
A Software Engineer was asked Q2. Can you increment a void pointer?
A Software Engineer was asked Q3. Implement memcpy in C.
>
Ittiam Systems Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

