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 are the functions to open and close the file in c language?
Explain function pointer with exapmles.
how can u print a message without using any library function in c
1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable
What does char * * argv mean in c?
What are data structures in c and how to use them?
difference between i++* and *++i
How can I find out if there are characters available for reading?
What is indirection?
how to execute a program using if else condition and the output should enter number and the number is odd only...
#include main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }