What's the difference between calloc() and malloc()?
Answer Posted / guest
calloc() takes two arguments, and initializes the allocated
memory to all-bits-0.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
How can you check to see whether a symbol is defined?
How can I get back to the interactive keyboard if stdin is redirected?
Explain modulus operator. What are the restrictions of a modulus operator?
What are the rules for the identifier?
What is the argument of a function in c?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is d'n in c?
Can a local variable be volatile in c?
using only #include
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is use of pointer?
Write a program to implement queue.
What is the difference between malloc calloc and realloc in c?
Explain what header files do I need in order to define the standard library functions I use?