English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

in a class such as :
void de_allocate(double ** date){
..................
}
what is the meaning of "* *"?

2006-10-03 00:43:58 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

This is an example of multiple indirection.
Simply put
pointer points to another pointer that points to a target value
here *date will contain value that is address of memory location holding some value.
if
date=25-> | 100 | *date =100->| 1000 |
then **date will point to value 1000

2006-10-03 00:59:16 · answer #1 · answered by curiousj 1 · 1 0

The alphabet wasn't created specifically for the English language.

2016-03-27 03:07:14 · answer #2 · answered by ? 4 · 0 0

date is pointer to pointer variable holding value of double.
in date variable the value is address of the variable.

2006-10-03 00:51:48 · answer #3 · answered by H@ri 2 · 1 0

That would be a pointer to the pointer to date.

2006-10-03 00:51:22 · answer #4 · answered by nondescript 7 · 1 0

taht is used to make possible changing the values of pointers

2006-10-03 04:22:26 · answer #5 · answered by Ugi 2 · 1 0

fedest.com, questions and answers