what is the difference between malloc() and calloc() function?
Answer Posted / 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 |
Post New Answer View All Answers
How can I make sure that my program is the only one accessing a file?
Explain how do you view the path?
How can I read in an object file and jump to locations in it?
What is an auto keyword in c?
How many identifiers are there in c?
What is integer constants?
What is time null in c?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Write a code of a general series where the next element is the sum of last k terms.
What is structure and union in c?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
What is a file descriptor in c?
How do I swap bytes?
What is use of pointer?
Is this program statement valid? INT = 10.50;