I want to print the binary value of a given float just by directly accessing the memory I used this code to access the value of an int
int var = 34;
int *ptr;
ptr = &var;
printf("\nDirect access, variable var value = var = %d", var);
i am wondering how to access the memory amount of a float and print it