Advertisements
Advertisements
प्रश्न
Identify in the following program.
let rec gcd a b:=
if b <> 0 then gcd b (a mod b) else return a
The statement which terminates the recursion?
एका वाक्यात उत्तर
Advertisements
उत्तर
return a (when b becomes 0).
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
