[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Input / Output - Discussion

Home > C Programming > Input / Output > MCQs Questions Discussion

7 / 6

What is the following C Program doing?

#include <stdio.h>
void main ()
{
 char line [80];
 gets (line);
 puts (line);
}

Aprints horizontal straight lines on screens

Bprints 80 vertical lines on screen

Creads in a line of 80 characters

Dreads and prints lines composed of characters

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here