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, **p);
    }
  2. A.
    5  5  5
    B.
    5  5 junk value
    C.
    5 junk value
    D.
    Compile time error

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    None.


Be The First To Comment