Question
Below is is a scheme function. For your answer, write a comment for this piece of...

Answers
The solution of the given problem is below:
here the code given is a scheme function for factorial . in scheme programming comments starts with a semocolon.
; the input n is a number whose factorial is to be determined.
; let the input is 5 then above program work like this.
; since 5>0 so (*5 (factorial(5-1)))))
; again factorial will be called with n=4 so (*4(factorial(4-1)))))
; (*3(factorial(3-1)))))
; (*2(factorial(2-1)))))
; (*1(factorial(1-1)))))
; factorial(0) will return 1 in this way it is calculated.
The ans of 2nd part is option 4.
generally comments are useless because compiler ignores it while compiling, but some times we need to add comment in order to tell that what our program does and its functions.
Plaese upvote in case of any query comment me.