{"id":4323,"date":"2021-10-04T23:00:00","date_gmt":"2021-10-04T17:30:00","guid":{"rendered":"https:\/\/www.codingbroz.com\/?p=4323"},"modified":"2021-10-04T14:16:48","modified_gmt":"2021-10-04T08:46:48","slug":"c-program-to-find-gcd-of-two-numbers-using-recursion","status":"publish","type":"post","link":"https:\/\/www.codingbroz.com\/c-program-to-find-gcd-of-two-numbers-using-recursion\/","title":{"rendered":"C Program to Find GCD of Two Numbers Using Recursion"},"content":{"rendered":"\n

In this post, we will learn how to find GCD of two numbers using recursion in C<\/strong> Programming language.<\/p>\n\n\n\n

\"C<\/figure>\n\n\n\n

The greatest common divisor (GCD)<\/strong> of two nonzero integers a<\/strong> and b<\/strong> is the greatest positive integer d<\/strong> such that d<\/strong> is a divisor of both a<\/strong> and b<\/strong>.<\/p>\n\n\n\n

We will define a custom recursive function which will calculate the GCD of two numbers.<\/p>\n\n\n\n

So, without further ado, let\u2019s begin this tutorial.<\/p>\n\n\n\n

\n