WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / karthik
Malloc() is used to allocate a block of memory
Calloc() is used to allocate a block of memory and initialize it.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the process to generate random numbers in c programming language?
In which layer of the network datastructure format change is done
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What do you mean by keywords in c?
What is the importance of c in your views?
How old is c programming language?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
How will you declare an array of three function pointers where each function receives two ints and returns a float?
#include
What are the types of pointers?
What is the difference between int main and void main?
What is clrscr ()?
Tell me when is a void pointer used?
Write a program to implement queue.
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }