Chapter 8: More On Pointers

 

Results

Previous
Next

#1. __________ is the process of allocating memory at the run time instead of allocating at the compilation time.

Previous
Next

#2. The most important of these are ________ and __________

Previous
Next

#3. Each time a memory request is made using ______ a portion of the remaining free memory is allocated.

Previous
Next

#4. Each time ______ is called, memory is returned to the system.

Previous
Next

#5. _________ function can be used for allocating memory dynamically.

Previous
Next

#6. _______ requires one argument, the number of bytes we want to allocate dynamically.

Previous
Next

#7. When malloc is unable to allocate the requested memory, it returns a ____ pointer.

Previous
Next

#8. Dynamically allocated memory is deallocated with the _____ function.

Previous
Next

#9. Passing the pointer into free will release the ________ memory.

Previous
Next

#10. Which will “give the memory back” to the stock of memory sometimes called?

Previous
Next

#11. _______ is similar to malloc().

Previous
Next

#12. The main difference is that the value stored in the allocated memory space is ________ by default.

Previous
Next

#13. With malloc(), the allocated memory could have any _________

Previous
Next

#14. Calloc() requires ________ arguments.

Previous
Next

#15. The first argument is the _______ of variables that allocate memory for it.

Previous
Next

#16. The second arguments is the ________ of each variable.

Previous
Next

#17. calloc() will return a ______ pointer, if the memory allocation was successful.

Previous
Next

#18. The ___ function is used to reallocate a block of memory from a pointer we already have.

Previous
Next

#19. Realloc takes ___________ arguments.

Previous
Next

#20. The first argument is the ___________ referencing the memory.

Previous
Next

#21. The Second argument is the total number of ______ we want to reallocate.

Previous
Next

#22. Passing zero as the second argument in realloc it is equivalent of calling

Previous
Next

#23. Realloc returns a _______ pointer.

Previous
Next

#24. _______ of pointers is a useful method for keeping track of several pointers to variables.

Previous
Next

#25. Pointers to pointers are sometimes referred to as __________ pointers.

Previous
Finish