Can anyone tell what is stack overflow? what precaution we
should take?
Answer Posted / vishnu nayak
Memory is divided into the following catageory
Stack Area
Heap Area
Data Area
Code Area
All Local Variables, formal parameters, return address of a
function are stored at stack area.
Stack Over flow mainly occurs in Recurssion. For each call
of the function a seperate set of Local variables, Formal
parameters and return address are stored at stack area.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
simple program of graphics and their output display
Do string constants represent numerical values?
Can main () be called recursively?
What is a macro, and explain how do you use it?
What is difference between stdio h and conio h?
What are examples of structures?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
Does c have an equivalent to pascals with statement?
what is a function method?give example?
Why do we use int main?
What is break in c?
Write the control statements in C language
Why is c so popular?
How can I dynamically allocate arrays?
What is calloc()?