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
What is #include cctype?
How can I sort more data than will fit in memory?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What is header file definition?
What is a program flowchart and explain how does it help in writing a program?
What is the use of a ‘’ character?
Where are the auto variables stored?
What is the maximum no. of arguments that can be given in a command line in C.?
a c code by using memory allocation for add ,multiply of sprase matrixes
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What are loops in c?
Why is extern used in c?
What is typedef example?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?