Q9
MCQ1 mark, −0.33ProgrammingConsider the following program:
#include <stdio.h>
void fX ();
int main(){
fX();
return 0 };
void fX () {
char a;
if ((a=getchar()) != '\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.
Keys: A–D or 1–4 choose, Enter checks, ← → move between questions.
The solution is hidden while you attempt this question. It opens once you check or show the answer.