Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

    void main()
    {
    int x = 0;
    int *ptr = &5;
    printf("%p\n", ptr);
    }
  2. A.
    5
    B.
    Address of 5
    C.
    Nothing
    D.
    Compile time error

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    None.


Be The First To Comment