pick out the odd one out of the following
a.malloc()
b.calloc()
c.free()
d.realloc()
Answers were Sorted based on User's Feedback
Answer / manishsoni
here malloc(),calloc(),realloc)() are the memory allocation
function after allocation of memory free is used to freed
the memory which is allocated by the above function.
so the free is odd term.
| Is This Answer Correct ? | 13 Yes | 3 No |
What is the return type of sizeof?
What is the use of function overloading in C?
Why does everyone say not to use gets?
What are dynamically linked and statically linked libraries?
What is the Purpose of 'extern' keyword in a function declaration?
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]
What is the use of keyword VOLATILE in C?
How can I make it pause before closing the program output window?
Why pointers are used in c?
Explain how do you list files in a directory?
If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output?