What is Generic pointer? What is the purpose of Generic
pointer? Where it is used?
Answer Posted / kiran kumar yakkala
generic pointer- generally "void" used for generic
no specification of data type
if u dont know the data type specification at the time
of any funciton or datatype declaration, generally go for
generaic(void) .
but it needs a "type conversion" for further usage
mind that "void" pointer never be incremented or
decremented, after type conversion only u should go for
that.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Is it possible to pass an entire structure to functions?
What are qualifiers and modifiers c?
Is there anything like an ifdef for typedefs?
What is the process of writing the null pointer?
What is pointers in c with example?
What are all different types of pointers in c?
Are enumerations really portable?
What is wrong with this program statement? void = 10;
Why is main function so important?
Multiply an Integer Number by 2 Without Using Multiplication Operator
Are pointers integers in c?
How is a macro different from a function?
What is the purpose of type declarations?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Why is #define used?