adplus-dvertising
frame-decoration

Question

Find the output of following code segment
for(putchar('c');putchar('a');putchar('r'))
putchar('t');

a.

A syntax error

b.

Cartrta

c.

Catrat

d.

Catratratratrat...

Posted under C Programming

Answer: (d).Catratratratrat...

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Find the output of following code segment