GCD problem one test case not passing

What is the test case that is not passing? Also, I tried using recursion as a different approach. Can you point out my mistake in that as well?

hi @astha119btcse21_7380491a239a3b9b,
please refer this https://www.geeksforgeeks.org/c-program-find-gcd-hcf-two-numbers/ go through the example code and do a dry run for better understanding