What is the following C Program doing?


		
					

Loading

Choose the correct option.

What is the following C Program doing?


void main ()

{

char line [80];

gets (line);

puts (line);

}

A. prints horizontal straight lines on screens
B. prints 80 vertical lines on screen
C. reads in a line of 80 characters
D. reads and prints lines composed of characters

Leave a Comment