Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

    void main()
    {
    int a[3] = {1, 2, 3};
    int *p = a;
    int *r = &p;
    printf("%d", (**r));
    }
  2. A.
    1
    B.
    Compile time error
    C.
    Address of a
    D.
    Junk value

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    None.


Be The First To Comment