(a) double d = 3.0; int* ip = (int*) &d; *ip = 7; (b) double d = 3.0; char* cp = (char*) &d; *cp = 7;