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


Please Help Members By Posting Answers For Below Questions

What is a function in c?

1227


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2307


Explain heap and queue.

830


What is the purpose of sprintf() function?

837


What is array in C

948


Write the Program to reverse a string using pointers.

820


what is reason of your company position's in india no. 1.

1995


Is c compiled or interpreted?

940


Which header file is used for clrscr?

813


Are negative numbers true in c?

804


Why enum is used in c?

733


What is data structure in c and its types?

845


The file stdio.h, what does it contain?

914


What are the main characteristics of c language describe the structure of ac program?

971


Is c weakly typed?

785