Pointers in c++

if our variable is (let’s say) float…Than is it important to take a pointer variable (which points to that float variable) of same data type(float)?
considering the fact that addresses are in INT format ?

@HackerBoI yes it is absolutely necessary to take the pointer type as the same data type even though the addresses are in int format. This can be helpful when we have to dereference the pointers.
Lets suppose we have a float variable f and we have stored the value 6.54 in it. And we point to that value using an int pointer. Then while dereferencing the int pointer we cannot print 6.54 .
Since it is an int pointer the value that will get printer is 6.

I think that E_S4CPE_2022 Sample Questions Answers is crucial for graduating from any university. Every student should know how to write and I think you should be able to do it, too. I would recommend you to take some extra classes or enroll in additional course.