šŸ“¢ Too many exams? Don’t know which one suits you best? Book Your Free Expert šŸ‘‰ call Now!


    Question

    Which memory allocation strategy is used for global

    variables and static variables, where memory is allocated once at compile time and remains throughout program execution?
    A Stack allocation Correct Answer Incorrect Answer
    B Heap allocation Correct Answer Incorrect Answer
    C Static allocation Correct Answer Incorrect Answer
    D Dynamic allocation Correct Answer Incorrect Answer
    E Register allocation Correct Answer Incorrect Answer

    Solution

    Static allocation

    Practice Next
    ask-question