#include <stdio.h>
int main()
{
int *ptr1, i = 10; double *ptr2, j = 1.23;
ptr1 = &i; ptr2 = &j;
*ptr1 = *ptr2;
printf("%d %d %d\n", i, sizeof (ptrl), sizeof(ptr2));
return 0;
}
References: C From Theory