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 the difference between null pointer and void pointer

Answer Posted / nagarala sai deepak reddy

NULL POINTER :
the pointer which dosent point to any memory location is
called NULL POINTER.

VOID POINTER :
the pointer is a one which can only point to a particular
memory location of it's own type.... but when the pointer
is given void it can be mde to point any location of
different type

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are there any problems with performing mathematical operations on different variable types?

991


Explain indirection?

1063


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

1085


What is the use of void pointer and null pointer in c language?

1070


What is the code in while loop that returns the output of given code?

1896


What is the best organizational structure?

1067


Why do we write return 0 in c?

1006


Is there a way to switch on strings?

1027


The statement, int(*x[]) () what does in indicate?

1084


Why can’t constant values be used to define an array’s initial size?

1325


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1222


Explain that why C is procedural?

1082


How can I write a function analogous to scanf?

1099


When should you use a type cast?

1057


What is the difference between text and binary modes?

1126