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 |
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
What is the difference b/w Structure & Union?
i want to make a program in which we use input having four digits(4321) and get output its reciprocal(1234).
What is array of structure in c programming?
What do you understand by friend-functions? How are they used?
What is ponter?
What are the types of type specifiers?
How many main () function we can have in a project?
What's wrong with "char *p; *p = malloc(10);"?
What are the advantages and disadvantages of c language?
what does ‘segmentation violation’ mean?
What are the types of pointers in c?