Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int main()
        {
            auto i = 10;
            const auto int *p = &i;
            printf("%d\n", i);
        }
  2. A.
    10
    B.
    Compile time error
    C.
    Depends on the standard
    D.
    Depends on the compiler

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment