Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
Explain the difference between malloc() and calloc...
1.
Explain the difference between malloc() and calloc() in C?
Answer»
S.no
malloc()
calloc()
1.
Does not
INITIALIZE
allocated
MEMORY
Fills allocated memory with zero bits.
2.
Returns
ONE
single object
Returns
ARRAY
of
OBJECTS
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How to get string length of given string in C?
Write a program to find the biggest number of three numbers in C?
How we can insert comments in a C program?
Explain the difference between #include "..." and #include in C?
Explain the difference between structs and unions in C?
What are the string functions? List some string functions available in C.
What is the purpose of main( ) in C language?
Write a program to print numbers from 1 to 100 without using loop in C?
Write a program to generate random numbers in C?
What is modifier & how many types of modifiers available in C?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies