Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

    void main()
    {
    int k = 5;
    int *p = &k;
    int **m = &p;
    printf("%d%d%d\n", k, *p, **m);
    }
  2. A.
    5   5   5
    B.
    5  5 junk value
    C.
    5 junk value
    D.
    Run time error

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment