Answer Posted / sourisengupta
free(ptr);
free takes the pointer variable as argument. The intial
data at that location holds a value of number of bytes that
pointer is pointing to. According to the information, it
frees
the memory.
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is break statement?
Is a house a mass structure?
Explain null pointer.
Explain what is meant by high-order and low-order bytes?
How can I write a function analogous to scanf?
Compare interpreters and compilers.
regarding pointers concept
What is meant by preprocessor in c?
How to define structures? ·
Write a program to swap two numbers without using a temporary variable?
List the difference between a While & Do While loops?
Why can arithmetic operations not be performed on void pointers?
Which is better malloc or calloc?
Write a program to swap two numbers without using the third variable?
Can we initialize extern variable in c?