See AnswerAns: A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before using it to store any variable address.
What is indirection operator?
See AnswerAns: The indirection operator is a unary operator represented by the symbol (*). The indirection operator can be used in a pointer to a pointer to an integer, a single-dimensional array of pointers to integers, a pointer to a char, and a pointer to an unknown type.
What is void Pointer?
See AnswerAns: The void pointer, also known as the generic pointer, is a special type of pointer that can be pointed at objects of any data type! A void pointer is declared like a normal pointer, using the void keyword as the pointer's type: 1. void *ptr; // ptr is a void pointer
How to declare a Pointer Variable?
See AnswerAns: datatype * variable_name; eg. int *p;
Is it possible to store address of int variable in float pointer?
See AnswerAns:
What is size of pointer variable of int type?
See AnswerAns:
What is size of pointer variable of char type?
See AnswerAns:
Is it possible to change the address of any variable?
See AnswerAns:
What is Generic Pointer?
See AnswerAns: When a variable is declared as being a pointer to type void it is known as a generic pointer. Since you cannot have a variable of type void, the pointer will not point to any data and therefore cannot be dereferenced. It is still a pointer though, to use it you just have to cast it to another kind of pointer first.
Explain pointer to pointer.
See AnswerAns:
What is pointer to array?
See AnswerAns:
When to use pointer to array?
See AnswerAns:
Is array variable a pointer variable?
See AnswerAns:
Does array variable contain base address of array?
See AnswerAns:
If the address of one location of float array is 112 then what will be the address of 2nd location?