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 |
Explain what is output redirection?
Why is #define used?
difference between semaphores and mutex?
Explain what are bus errors, memory faults, and core dumps?
Define VARIABLE?
Write a program to implement queue.
#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?
Can the curly brackets { } be used to enclose a single line of code?
Write a program to print all the prime numbers with in the given range
8 Answers ABC, College School Exams Tests, TCS,
Write a c code segment using a for loop that calculates and prints the sum of the even integers from 2 to 30, inclusive?
What is a null pointer in c?
i need all types of question paper releted to "c" and other language.