Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            char a = 'a';
            int x = (a % 10)++;
            printf("%d\n", x);
        }
  2. A.
    6
    B.
    Junk value
    C.
    Compile time error
    D.
    7

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    None.


Be The First To Comment