What is Heap?
Answers were Sorted based on User's Feedback
Answer / anurag
Heap is portion of memory which is allocated with program
address space when the program require memory at run time,
the memory from heap is allocated.apart from this all global
variables are also allocated their space from heap.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / nisha nair
A data structure called heap is a binary tree with keys
assigned to its nodes provided it satisfies two
requirements:
1. Tree shape requirement.
2. Parental domainance requirement.
Is This Answer Correct ? | 2 Yes | 1 No |
A stack can be implemented only using array?if not what is used?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
Differentiate between #include<...> and #include '...'
design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.
What is volatile keyword in c?
Why the use of alloca() is discouraged?
Explain how can you be sure that a program follows the ansi c standard?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
C program to find frequency of each character in a text file?
What are the different data types in C?
how to find the kth smallest element in the given list of array elemnts.
What is meant by type casting?