2 2 votes In Run Time Environment, which of the following is stored in heap?Static variables declared inside a function. Dynamic allocated array of integers created using malloc. Return address of function. An array of integer declared inside a function. Programming in C goclasses gate2026_cs_set2_memorybased programming-in-c one-mark + – GO Classes 705 views answer comment Share Follow Print See 1 comment 1 1 comment reply GO Classes commented Feb 18 reply Follow flag Watch Detailed Video Solution Here! 0 0 replyShare Please log in or register to add a comment.
2 2 votes A) False, static variables stored in data section.B) True ,heap is the portion of memory where dynamically allocated memory resides (i.e. memory allocated via malloc.)C) False, Return addresses are stored in Stack not in heap.D) False, it is also stored in stack Section not in heap.Answer: $B$ Umesh Shelke answered Feb 11 • edited Feb 11 by Umesh Shelke Umesh Shelke comment Share Follow 0 reply Please log in or register to add a comment.