Q9
MCQ1 mark, −0.33Consider the following program: #include <stdio.h> void fX (); int main(){ fX(); return 0 }; void fX () { char a; if ((a=g e t c h a r()) ! = '\n') fX(); if (a ! = '\n') putchar (a); } Assume that the input to the program from the command line is followed by a newline character. Which one of the following statements is CORRECT?
Sign in to save attempts.
Loading…