The following loop for {putchar{'c'}; putchar{'a}; putchar{'r"}} putchar{'t'};

  • 0 replies
  • 581 views
*

Offline mechanic

  • *****
  • 2513
    • View Profile
    • Engineering Forum
Question: The following loop for {putchar{'c'}; putchar{'a}; putchar{'r"}} putchar{'t'}; outputs

Options are:

A. a syntex error
B. cartrt
C. catrat
D. catratratratrat...

The correct answer is

C. catratratratrat.......