Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. Which part of the program address space is p stored in the code given below?

        int *p = NULL;
        int main()
        {
            int i = 0;
            p = &i;
            return 0;
        }
  2. A.
    Code/text segment
    B.
    Data segment
    C.
    Bss segment
    D.
    Stack

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    None.


Be The First To Comment