WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / sudhir
malloc used to static memory allocation &
calloc is used to dyanmic memory allocation
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is double pointer?
What is a lvalue
Can you please explain the difference between syntax vs logical error?
What are directives in c?
How do I round numbers?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
List some of the static data structures in C?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
how to find binary of number?
What is c language and why we use it?
In a switch statement, explain what will happen if a break statement is omitted?
Tell me when would you use a pointer to a function?
What is mean by data types in c?
What is the scope of static variable in c?