C Program to Find GCD of two Numbers

Examples on different ways to calculate GCD of two integers (for both positive and negative integers) using loops and decision making statements.
Greatest Common Divisor (GCD)

To understand this example, you should have the knowledge of following C programming topics: