title: what happens when you invoke malloc() on a unix system
body: <p>malloc() library function internally calls brk() or sbrk() system call,which allocates memory fo data region,so local static variables and global variables will have allocation of memory from heap increasing the effective size of data region.now my question is what exactly is happening when i allocate memory to int *a?which is local variable.
  i might have misconception please let me know if any.thanks</p>