Skip to content

Instantly share code, notes, and snippets.

View SingAvi's full-sized avatar
💻
Practice and Master

Avinash Singh SingAvi

💻
Practice and Master
View GitHub Profile
@capex
capex / gcd.c
Created October 10, 2012 07:06
GCD in C
/*
Computes greatest common divisor of two numbers.
*/
#include <stdio.h>
// function prototype
int gcd (int a, int b);