MCQs > IT & Programming > C Programming > What does 'int *p = malloc(2);' do?

C Programming MCQs

What does "int *p = malloc(2);" do?

Answer

Correct Answer: It will make p point to an uninitialized two-byte piece of memory allocated from the heap.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it