answersLogoWhite

0


Best Answer

A pointer to pointer variable can hold the address of another pointer variable. The Syntax is as follow: type** variable; Example:: //function prototype void func(int** ppInt); int main() { int nvar=2; int* pvar=&nvar; func(&pvar); .... return 0; }


One more important use of pointer-to-pointer is for creating multi-dimensional array dynamically, see See the related links.

User Avatar

Wiki User

โˆ™ 2007-07-09 11:20:00
This answer is:
User Avatar
Study guides

rtf

โžก๏ธ
See all cards
3.72
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
25 Reviews

Add your answer:

Earn +20 pts
Q: What are the specific uses of pointer to pointer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you change the color of a laser pointer?

No. Each laser pointer uses a laser that emits a specific color. the only way to get a different color would be to get a different laser.


What is void pointer and what are its uses?

Void pointer can hold the address of any kind of pointer. But we can't operate on void pointer


Why would you use a pointer to pointer a in aprogram?

A pointer to pointer has many uses, one of the simplest being 2D arrays (matrices). Compacting garbage collectors also often employ pointer pointers.


What are the uses of a pointer in c?

Accessing data by address.


What tool uses a magnetized pointer to show direction?

compass


How structure passing and returning is implemented by compiler?

it uses pointer to stucture.


What is pointer and pointer types and uses of pointer and the meaning of pointer?

As the name suggests Pointer is used to point towards something ,here in this case it points to another variable and stored at a memory location. Pointer is a variable that stores address of another variable. Different Types of pointers are: 1)Dangling Pointers 2)NULL Pointers 3)This Pointer 4)Generic Pointer 5)Near Pointer 6)Far Pointer


Can pointer be incremented?

Yes. A built-in pointer uses the built-in increment operator. The implementation of this operator increments the pointer variable's value by the length of the pointer (in bytes). The pointer's length is determined by the underlying type of the pointer itself, not the type of the object being referred to. Thus a built-in pointer may refer to a user-defined type (struct or class).


What is the pointer used in bar mitzvah called?

Clarification is needed. The pointer used isn't specific to the Bar Mitzvah ceremony, it is the pointer used whenever the Torah scroll is read. The pointer itself is called a 'yad' which means 'hand'.


What is the rectangular area on notebook uses fingertip to move pointer?

touch pad


Which programming language uses a mouse pointer shaped in the form of a turtle?

Logo


Which programming language uses a mouse pointer shaped in the form of turtle?

LOGO

People also asked