Top

Discussion

What is the output of this C code?

int main()
{
printf("AllIndiaExams\r\nclass\n");
return 0;
}

 

  • A.AllIndiaExamsclass
  • B.AllIndiaExams class
  • C.classundry
  • D.AllIndiaExams

Answer: B

rn combination makes cursor move to nextline.

No comment is present. Be the first to comment.
Loading…

Post your comment