Engineering Education Forum

EDUCATION => Computer and I.T => Programming with C [MCQ] => Topic started by: mechanic on April 30, 2017, 12:34:54 PM

Title: The following loop for {putchar{'c'}; putchar{'a}; putchar{'r"}} putchar{'t'};
Post by: mechanic on April 30, 2017, 12:34:54 PM
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.......