WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / datta khilari
1.malloc() takes one argument and allocates memory in a
bytes and return to the pointer.
1.calloc() takes two argument and allocates memory in a
blocks and return to the pointer.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you search data in a data file using random access method?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What is %s and %d in c?
What are the different types of endless loops?
Why is c called a mid-level programming language?
What is difference between static and global variable in c?
What is integer constants?
Explain can static variables be declared in a header file?
Can you pass an entire structure to functions?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is the value of h?
Where in memory are my variables stored?
What is the meaning of typedef struct in c?
difference between object file and executable file
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555