what is the difference between malloc() and calloc() function?
Answer / amritha rose
malloc will allocate memory according to the size we
specified
calloc vil allocate memory as blockwise
and initialize by 0
Is This Answer Correct ? | 9 Yes | 1 No |
What is the use of putchar function?
i want to know the procedure of qualcomm for getting a job through offcampus
What is static function in c?
What is the difference between typedef struct and struct?
how to make a scientific calculater ?
write a program whose output will be- 1 12 123 1234
What is the main difference between calloc () and malloc ()?
Define the scope of static variables.
In a switch statement, what will happen if a break statement is omitted?
Is stack a keyword in c?
How do you initialize pointer variables?
The difference between printf and fprintf is ?