It depends on what type of data you wish to manipulate.
By declaring an integer pointer you are declaring that any non-zero reference stored in the pointer is guaranteed to be an integer reference. In order to guarantee the reference is actually a structure, the pointer must be declared as such, because casting an integer to a structure can never be regarded as being type-safe.
You can't address memory with floating point values. All pointers are integer values pointing to a location in memory, regardless of what type it is pointing to. If you wanted a floating point pointer, then the following should do the trick: float *floatingPointer; Note: If you wanted to ask that which integer type is big enough to hold a (flat) pointer, then the answer: ptrdiff_t, intptr_t (both signed) and size_t, uintptr_t (both unsigned).
A yad "the pointer'
if your calculation involves a decimal point, u must use float, otherwise you can use integer for normal purpose. for example, if u want to divide some number, lets say 9/4 then u must use float to get the answer in accurate decimal point , otherwise if u use int there, the answer will be just 2 instead of 2.25 whenever we used an integer in the program we used int. if there is any decimal part in the number then we used float.
Data type is mandatory in every variable-declaration.Example:int i; -- integerint *pi; -- integer-pointerint ai[10]; -- integer-arrayint *api[10]; -- array of integer-pointersint (*api)[10]; -- pointer to integer-array
No, you have to use the reflux integer i=53^-32 which is a constant. This formula will help;
No. The address of a float can only be assigned to a variable of type pointer to float. Any other (coerced) use is outside of the definition, implementation, and portability of the language.Yes, with typecast, but it is entirely pointless:float f;char c = (char)&f;
A pointer called a 'yad' is used to keep ones place when reading from the Torah.
to pretend our assumption correct.. i,e.. if we gave integers at the beginning of the program and then if we want to get our result in float , we us the method called typecasting by keeping float in braces in the condition or writing integer as float , means 5 as 5.0.
Floating type numbers can't be stored in integer type variables. If we do that then their fractional part will be lost. So, we use float data type to store numbers with fractional parts.
You are thinking about a Yad. It is a pointer in the shape of a little arm, made of silver.See also the Related Link.More about the Torah-scroll
Memory locations are supposed to be stored in pointers.If you have to convert a pointer to integer, use data-type intptr_t from inttypes.h