/*
 * Storing function pointers.
 *
 * Steve Shah (sshah@planetoid.org)
 */

#include <stdio.h>

void (*specialfunction)(int) = NULL;

void myfunction(int x)
{
	printf ("%d\n", x);
	return;
}

void callfunctions()
{
	int a=5;

	specialfunction(a);
	return;
}

int main()
{
	specialfunction = myfunction;
	callfunctions();
	return 0;
}



