Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

    int main()
    {
    printf("AllIndiaExams\r\nclass\n");
    return 0;
    }
  2. A.
    AllIndiaExamsclass
    B.
    AllIndiaExams
          class
    C.
    classundry
    D.
    AllIndiaExams

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    rn combination makes cursor move to nextline.


Be The First To Comment