Advertisements
Advertisements
Question
Identify in the following program.
let rec gcd a b:=
if b <> 0 then gcd b (a mod b) else return a
A statement that invokes the function recursively?
One Line Answer
Advertisements
Solution
gcd b(a mod b) [when b < > 0]
shaalaa.com
Is there an error in this question or solution?
