So there is a question that wants to assign the address of variable num1to pointer variable fptr. However, num1 is type float and fptr is type double. Is it possible to do the given task?
To explain further: by writing to pointer of another type which is there in reality, you are invoking Undefined Behavior, which is a very bad thing.
In reality you probably mess up unrelated memory.