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



pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()..

Answer / mannucse

c.free()

Is This Answer Correct ?    58 Yes 3 No

pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()..

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

Post New Answer

More C Interview Questions

What are the data types present in c?

0 Answers  


Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning

4 Answers   Accenture,


a c code by using memory allocation for add ,multiply of sprase matrixes

0 Answers  


How can I manipulate strings of multibyte characters?

0 Answers  


main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }

3 Answers  






#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }

1 Answers  


difference between object file and executable file

0 Answers  


Does free set pointer to null?

0 Answers  


Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +

1 Answers  


What is RAM memory? and What is ROM?Who designed one is temparary and another is permanent?why they designed like that?By using far pointer which type data(whether hexadecimal)we can access?

1 Answers   Excel,


What are multidimensional arrays?

0 Answers  


How to implement call back functions ?

3 Answers   HP,


Categories