Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Distinguish between malloc() & calloc() memory allocation.
Home
Technology
Distinguish between malloc() & calloc() memory...
asked
Nov 9, 2020
in
Technology
by
JackTerrance
Distinguish between malloc() & calloc() memory allocation.
interview-question-answer
technology-questions-answers
1
Answer
0
votes
answered
Nov 9, 2020
by
JackTerrance
Both allocates memory from heap area/dynamic memory. By default calloc fills the allocated memory with 0’s.
Related questions
0
votes
Q: Distinguish between malloc() & calloc() memory allocation?
Distinguish between malloc() & calloc() memory allocation?...
asked
Jan 17, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between malloc and calloc?
What is the difference between malloc and calloc?...
asked
Jan 23, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Is it better to use malloc () or calloc ()?
Is it better to use malloc () or calloc ()?...
asked
Jan 23, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Does malloc reserve more space while allocating memory?
I am observing the following behavior in my test program: I am doing malloc() for 1 MB and then ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
May 7, 2022
in
Education
by
JackTerrance
cmallocfree
0
votes
Q: How is the dynamic memory allocation in 1D array in C?
How is the dynamic memory allocation in 1D array in C?...
asked
Jan 24, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is static memory allocation and dynamic memory allocation?
What is static memory allocation and dynamic memory allocation?...
asked
Jan 23, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: In Visual Studio C++, what are the memory allocation representations?
In Visual Studio, we've all had "baadf00d", have seen seen "CC" and "CD" when inspecting ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Mar 13, 2022
in
Education
by
JackTerrance
debugging
0
votes
Q: Distinguish between Parameters and Filters in Tableau?
Distinguish between Parameters and Filters in Tableau?...
asked
Oct 30, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Distinguish between. State and Government
Distinguish between. State and Government Please answer the above question....
asked
Aug 3, 2022
in
Education
by
JackTerrance
political
science
latest
questions
and
answer
0
votes
Q: Distinguish between. State and Nation
Distinguish between. State and Nation Please answer the above question....
asked
Aug 3, 2022
in
Education
by
JackTerrance
political
science
latest
questions
and
answer
0
votes
Q: Distinguish between: Binary fission and Multiple fission.
Distinguish between: Binary fission and Multiple fission. Select the correct answer from above options...
asked
Nov 9, 2021
in
Education
by
JackTerrance
science-interview-questions
science-interview-questions-answers
science-multiple-choice-questions
science-mcq-with-answers
science-mcq
science-questions
0
votes
Q: Distinguish between: Human male and Human female reproduction system.
Distinguish between: Human male and Human female reproduction system. Select the correct answer from above options...
asked
Nov 9, 2021
in
Education
by
JackTerrance
science-interview-questions
science-interview-questions-answers
science-multiple-choice-questions
science-mcq-with-answers
science-mcq
science-questions
0
votes
Q: Distinguish between: Monozygotic twins and Dizygotic twins.
Distinguish between: Monozygotic twins and Dizygotic twins. Select the correct answer from above options...
asked
Nov 9, 2021
in
Education
by
JackTerrance
science-interview-questions
science-interview-questions-answers
science-multiple-choice-questions
science-mcq-with-answers
science-mcq
science-questions
0
votes
Q: Distinguish between monocots and dicots.
Distinguish between monocots and dicots. Select the correct answer from above options...
asked
Nov 9, 2021
in
Education
by
JackTerrance
science-interview-questions
science-interview-questions-answers
science-multiple-choice-questions
science-mcq-with-answers
science-mcq
science-questions
0
votes
Q: Distinguish between: Bryophyta and Pteridophyta.
Distinguish between: Bryophyta and Pteridophyta. Select the correct answer from above options Science questions ... by,electromagnetic theory engineering physics,Science nptel...
asked
Nov 8, 2021
in
Education
by
JackTerrance
science-interview-questions
science-interview-questions-answers
science-multiple-choice-questions
science-mcq-with-answers
science-mcq
science-questions
...