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 use of call back function in c?tell me with example
What is typedef example?
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
how to find greatet of 10 numbers without using array?
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
Explain is it valid to address one element beyond the end of an array?
What is p in text message?
When should we use pointers in a c program?
Is it possible to run a c program without using main?If yes HOW??
Explain how do I determine whether a character is numeric, alphabetic, and so on?
difference between Low, Middle, High Level languages in c ?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none