Question

    In which part of a function are local variables

    typically declared?
    A At the beginning of the function Correct Answer Incorrect Answer
    B After the return statement Correct Answer Incorrect Answer
    C Outside of any function Correct Answer Incorrect Answer
    D Inside a loop Correct Answer Incorrect Answer

    Solution

    At the beginning of the function

    Practice Next

    Relevant for Exams: