/* allocations.c */ #include #include typedef struct { double x; double y; } Point; typedef union { char c; int i; float f; double d; } Block; double GD = 3.14; int main(int argc, char *argv[]) { int a[] = {4, 6, 6, 3, 7}; char *sp = "Happy Kid"; char sa[] = "Frug"; Block b = {0}; Point p0 = {0, 0}; Point *p1 = NULL; Point *p2 = malloc(sizeof(Point)); Point *p3 = malloc(10*sizeof(Point)); Point **p4 = malloc(10*sizeof(Point *)); return 0; }