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 data types present in c?
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
a c code by using memory allocation for add ,multiply of sprase matrixes
How can I manipulate strings of multibyte characters?
main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }
#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }
difference between object file and executable file
Does free set pointer to null?
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
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?
What are multidimensional arrays?
How to implement call back functions ?