12th Class Computers Science Sample Paper Functions - Sample Paper - 3

  • question_answer
    In which part of memory does the system stores the parameter and local variables of function call.

    A) Heap                

    B) Stack

    C) Both a and b     

    D) None of the above

    Correct Answer: B

    Solution :

    [b] Stack, where variables are stored, along with information that is save each time a function is called. Each time a function is called, the address of where to return to and certain information about the caller statement.


You need to login to perform this action.
You will be redirected in 3 sec spinner