what are the various memory handling mechanisms in C ?
Answer Posted / henry
malloc(), calloc(), ralloc() are all for allocating memory.
free() is for freeing memory.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
When should a type cast not be used?
What do you mean by command line argument?
How can I implement sets or arrays of bits?
What is wrong with this statement? Myname = 'robin';
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
How can I get random integers in a certain range?
Why static variable is used in c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Can you write the algorithm for Queue?
What is the c value paradox and how is it explained?
How would you rename a function in C?
Is c is a procedural language?
Which one would you prefer - a macro or a function?
Is c dynamically typed?
What is line in c preprocessor?