Can anyone tell what is stack overflow? what precaution we
should take?
Answer / 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 |
What is the right type to use for boolean values in c? Is there a standard type?
int x=sizeof(!5.856); What will value of variable x?
parkside's triangle.. create a program like this.. enter the size: 6 enter the seed: 1 output: 1 23 456 7891 23456 789123 sample2: enter the size: 5 enter the seed: 3 output: 3 45 678 9123 45678 parkside should not exceed 10 while its seed should only be not more than 9..
What is fflush() function?
What are the different data types in C?
what is diff b/w huge & far & near pointer??
What are predefined functions in c?
What are the types of functions in c?
What are the different types of C instructions?
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
Explain how do you override a defined macro?
Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning