WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / datta khilari
1.malloc() takes one argument and allocates memory in a
bytes and return to the pointer.
1.calloc() takes two argument and allocates memory in a
blocks and return to the pointer.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the 5 organizational structures?
How can I implement sets or arrays of bits?
How can I find out the size of a file, prior to reading it in?
What does 3 periods mean in texting?
What is the difference between local variable and global variable in c?
What does != Mean in c?
What are the complete rules for header file searching?
Describe dynamic data structure in c programming language?
Using which language Test cases are added in .ptu file of RTRT unit testing???
#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 the acronym for ansi?
What is a macro?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
write a program to concatenation the string using switch case?
How are 16- and 32-bit numbers stored?