Defining a pointer

I want to get the address of a float variable. To define the pointer do I must define it as " float ptr"? I have seen a lot of examples with "int *ptr" but not with "float". Also I read a tutorial of Pointers were we can see this "The **int* says that we intend to use our pointer variable to store the address of an integer"

Can you please tell me how we define a pointer to a float variable?

thanks, Manuel

Yes, you've got it right. "float ptr" or "float ptr"


Thanks for the help. Manuel