Top

Discussion

malloc() allocates memory from the heap and not from the stack.

  • A.TRUE
  • B.FALSE
  • C.May Be
  • D.Can't Say

Answer: A

Heap area consist of hash codes .i.e. addreses while stack may or may not be that's why malloc() allocates memory from the heap

No comment is present. Be the first to comment.
Loading…

Post your comment