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

What are multidimensional arrays?

664


Write a program for Overriding.

702


Explain the difference between malloc() and calloc() in c?

587


What is a constant and types of constants in c?

610


What is your stream meaning?

620






write a program fibonacci series and palindrome program in c

636


Write a program to print factorial of given number using recursion?

612


What are the features of c language?

633


Define Spanning-Tree Protocol (STP)

663


what is the basis for selection of arrays or pointers as data structure in a program

3797


What is adt in c programming?

631


Why c is called object oriented language?

596


Hi can anyone tell what is a start up code?

1632


What is chain pointer in c?

613


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1506