WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / bavithra
malloc() doesnot initialize the allocated memory
calloc() initializes the allocated memory to ZERO
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Which is more efficient, a switch statement or an if else chain?
Define circular linked list.
What are the benefits of c language?
Explain the meaning of keyword 'extern' in a function declaration.
What are dangling pointers in c?
How do you declare a variable that will hold string values?
Explain what are the __date__ and __time__ preprocessor commands?
What is a list in c?
string reverse using recursion
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
What does double pointer mean in c?
What is wrong with this program statement?
How is a macro different from a function?
What are the header files used in c language?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same