what is void pointer?

Answer Posted / rajesh

Void pointer is the
pointer which itself is
null and can not be
interchanged by others.
Ex-
{
int *a;
void *b;

*a=*b; //valid
a=b; //invalid
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c still so popular?

806


Why do we need a structure?

800


What is the purpose of realloc()?

891


Explain the difference between ++u and u++?

850


In C language, a variable name cannot contain?

1022


How can I insert or delete a line (or record) in the middle of a file?

799


If I have a char * variable pointing to the name of a function ..

919


What are operators in c?

795


By using C language input a date into it and if it is right?

815


What is difference between constant pointer and constant variable?

940


What are the salient features of c languages?

864


How do you determine a file’s attributes?

824


What are reserved words with a programming language?

846


What is getch c?

1057


Differentiate between calloc and malloc.

1024