Question: Consider c program Void fX ( ) Int main ( ) { fX ( ) return 0 } Void fX ( ) { Char a

Consider c program
Void fX()
Int main(){
fX()
return 0}
Void fX(){
Char a
If a=getChar())!=n
fX()
If a!=n
putChar(a);
Assume input from comm line 1234 foll by newzline character. Which is correct
Program terminatw with no op
Program terminatw with 1234 as op
Program terminatw with 4321 as op
Will not terminate

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!