adspace


Explain what is the heap?

Answer Posted / Khajan Singh Chauhan

In C, the heap is a region of memory used for dynamic memory allocation, where you can dynamically allocate and deallocate memory during runtime using functions like `malloc()`, `calloc()`, `realloc()`, and `free()`. The heap is not bounded by any size limitations unlike the stack.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

ATM machine and railway reservation class/object diagram

5335


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1358


What is variable initialization and why is it important?

1391


what is ur strangth & weekness

2590


What is the general form of a C program?

1099


Explain the difference between null pointer and void pointer.

1157


write a progrmm in c language take user interface generate table using for loop?

2123


What is pointer to pointer in c with example?

1198


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2214


How can I implement sets or arrays of bits?

1118


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2515


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2258


will u please send me the placement papers to my mail???????????????????

1929


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2827


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

5446