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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
