What is the difference between malloc calloc and realloc in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is function what are the types of function?

0 Answers  


while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.

1 Answers   TCS,


Why isn't any of this standardized in c? Any real program has to do some of these things.

0 Answers  


can u write a program in C, which does not use = (eqaul)or any arithmatic assignment(like -=,+=,*= etc) operator to swap to number?

2 Answers  


Write a program to generate random numbers in c?

0 Answers  






a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

0 Answers  


What is the purpose of realloc()?

0 Answers  


What is structure packing in c?

0 Answers  


What does node * mean?

0 Answers  


2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 Answers   Accenture,


For what purpose null pointer used?

0 Answers  


in malloc and calloc which one is fast and why?

1 Answers  


Categories