Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is void pointer?

Answers were Sorted based on User's Feedback



what is void pointer?..

Answer / 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

what is void pointer?..

Answer / sanjay bhosale

Void pointer is the pointer which can point to any type of variable.
e.g
int a=10;
float b=20.00f;
void *ptr=null;
ptr = &a;
ptr = &b;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Find greatest of two numbers using macro

4 Answers   Bosch, Siemens,


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

0 Answers  


I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?

1 Answers  


Can a pointer point to null?

0 Answers  


What is calloc in c?

0 Answers  


Did c have any year 2000 problems?

0 Answers  


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

0 Answers   CLG,


What are the advantages of using macro in c language?

0 Answers  


What are the disadvantages of external storage class?

0 Answers  


can we print any string in c language without using semicolon(;)(terminator) in whole program.

11 Answers  


how to implement stack operation using singly linked list

2 Answers  


Is c weakly typed?

0 Answers  


Categories