/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>

#include <gmp.h>

int main()
{
    mpz_t two, powtwo;
    mpz_init_set_si(two, 2);
    mpz_init(powtwo);
    mpz_pow_ui(powtwo, two, 500);
    gmp_printf("%Zd\n", powtwo);
    mpz_clear(two);
    mpz_clear(powtwo);
    return 0;
}
