In C runtime environment, which one of the following is stored in heap?
GATE · 2026 · CS · Set 2 · Computer Science & IT
In C runtime environment, which one of the following is stored in heap?
- A.
A static variable declared inside a function
- B.
An array of integers declared inside a function
- C.
A dynamically allocated array of integers created using malloc() function call
- D.
Return address of a function
Attempted by 1171 students.
Sign up free to check your answer
Sign up freeLoading lesson…