Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. The output of the code below is

        int *m();
        void main()
        {
            int k = m();
            printf("%d", k);
        }
        int *m()
        {
            int a[2] = {5, 8};
            return a;
        }
  2. A.
    5
    B.
    8
    C.
    Nothing
    D.
    Varies

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    None.


Be The First To Comment