answersLogoWhite

0


Best Answer

No, 'void *' and 'double *' are ok; 'void double *' is syntax error.

On the other hand 'void **p' is totally correct: p holds the address of a generic pointer.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Does having a void double pointer make sense in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why are pointers needed in C programming?

pointer is used when we want to retain the change in values between the function calls. Similarly double pointer is used when we want to retain the change in pointers between the function calls. If you want to modify pointers than you need double pointer to retain the change.


Why do you use a void pointer in a programme?

void is type of pointer that usually means that you can make it point to any data type. When you make a pointer point to somewhere its data type should match with the place where you want it to point. When you dont know the data type where it will point to then you can declare a void pointer and make it point to the data type it want.


What does putting your pointer finger to your lips?

word: seducing yourself action of it crossing pointer fingers over your lips: you are going to make out with yourself and look at hot girls kissing each other on youtube! SO EVERYONE CROSS YOUR POINTER FINGERS OVER YOUR LIPS!!! call me baby


What is difference between pointer and structures?

pointer data type that carry address:of data type that has no name but both of them must have same data type. structures you can make your own data type: struct name put any data type you wants any functions.


What is the difference between a null pointer and a null macro?

Using a NULL macro to make C portableI'll assume that you're asking your question for C type language programming. A NULL pointer is a pointer that's guarnteed to point to nothing. This may be 0 in a UNIX/Linux system or some other address in another system. Using the NULL macro to set/initialize your pointers will make your programs more portable among systems than using something like the 0.#include char *c = 0; // initialize to NULL--not portablechar *p = NULL; // initialize to NULL as defined in stdio is portableAddendumThe code:char *c = 0;actually is portable because the compiler converts 0's used in a pointer context (cast to a pointer) to the machine's representation of a NULL pointer, which may or may not be all 0 bits. The NULL macro itself might be defined as something like 0 or (void *)0, and both definitions are portable. As a corollary, the following code is also portable:if (!c) {// do something}because it is equivalent to:if (c != 0) {// do something}and the 0 above is converted to a NULL pointer because it is being compared with a pointer.

Related questions

Why pointer of constructor is made but not of destructor?

When a constructor is invoked dynamically, the new operator allocates the required memory, initialises it according to the constructor, then returns a pointer to the allocation. The destructor is invoked by deleting the pointer. It wouldn't make any sense to return a pointer from a deletion.


What are the answers for double matrixes?

False. This question does not make sense.


Why shouldn't you use double negatives?

Because they don't make no sense.


What is it called when you make a shot behind the arc in NBA?

a threee pointer


Why did Ferdinand's happiness double William shakespeare in the tempest?

Doesnt even make any sense


Why are pointers needed in C programming?

pointer is used when we want to retain the change in values between the function calls. Similarly double pointer is used when we want to retain the change in pointers between the function calls. If you want to modify pointers than you need double pointer to retain the change.


How do you make a 3 pointer in nba2k11?

If you increase your 3 pointer skill your chance of making a 3 pointer is increased. (Myplayer mode). Other from that it's all about your jumpshot timing.


Why people with sense of humor are interesting?

People with a sense of humor tend to see the world from a different point of view. Though this is only part of having a sense of humor, this alone can make them "interesting."


How can a box of matches have all the tips burned without having been struck or burned?

that does not make sense


Does 'having longevity' make sense?

'having have' is a word phrase to mean - 'to have':a perfection in possession , completion of a work or commitment.Having have made a promise ,I gave my consent.


What you can do In the Mouse Properties window?

Generally, in mouse properties you can, 1. switch primary and secondary buttons(To switch primary functions of buttons from left to right button & vice versa). 2.Select Double click speed . 3.Turn on click lock ( Enables to highlight or drag without holding down the mouse button). 4.Select schemes(old fashioned, magnified, conductor,hands, windows default etc.) 5.customize cursor(change shape of cursor) 6.Enable pointer shadow. 7.Motion(select pointer speed) 8.Snap to(Automatically move pointer to default button in a dialogue box). 9.Visibility(Display pointer trails). 10.Hide pointer while typing. 11.Show location of pointer when CTRL key is pressed. 12.Make Wheel scrolling adjustments. 13.Make changes in Device properties


How can you make your dog do tricks?

some dogs you can use a laser pointer. And my friend taght his dog to do a back flip with a laser pointer.