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 a sequential access file?
What is the meaning of c in c language?
What are the advantages of c language?
What does malloc () calloc () realloc () free () do?
In c language can we compile a program without main() function?
How can you return multiple values from a function?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
What is a spanning Tree?
Explain how can type-insensitive macros be created?
How does pointer work in c?
Why we use conio h in c?
What are the advantages and disadvantages of a heap?
What is header file in c?
what are the different storage classes in c?
What are lookup tables in c?