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


Please Help Members By Posting Answers For Below Questions

What is a pointer value and address in c?

636


Describe the difference between = and == symbols in c programming?

779


How can I call a function with an argument list built up at run time?

642


How can I direct output to the printer?

814


Combinations of fibanocci prime series

1115






difference between object file and executable file

6097


what is the syallabus of computer science students in group- 1?

1845


What is pointer & why it is used?

605


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1359


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

1579


What are the 5 types of inheritance in c ++?

587


Why is c called c?

633


Explain goto?

719


Why static variable is used in c?

559


Which node is more powerful and can handle local information processing or graphics processing?

830