# include <stdio.h>
# include <stdlib.h>
/** Dynamic allocation of one variable **/
int main()
{
	double *x=NULL;
	printf("x is %x \n",x);
	x=(double *)malloc (sizeof (double));
	*x=300.0;
	printf("Variables are %lf %x \n",*x,x);
	free(x);
	return 0;
}
