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 language is windows 1.0 written?
What is hashing in c language?
What is string length in c?
Is c object oriented?
What are examples of structures?
main() { printf("hello"); fork(); }
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Differentiate between a for loop and a while loop? What are it uses?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is the use of putchar function?
What is the meaning of ?
Is it valid to address one element beyond the end of an array?
Why is c platform dependent?
How will you divide two numbers in a MACRO?