In this case, double
means a variable of type double.
double*
means a pointer to a double variable.
double**
means a pointer to a pointer to a double variable.
In the case of the function you posted, it is used to create a sort of two-dimensional array of doubles. That is, a pointer to an array of double pointers, and each of those pointers points to an array of pointers.
Related Posts:
- Are the C++ & and * operators inverses in all contexts?
- Why does the arrow (->) operator in C exist?
- C: pointer to array of pointers to structures (allocation/deallocation issues)
- Arrow operator (->) usage in C
- What does “dereferencing” a pointer mean?
- What does “dereferencing” a pointer mean?
- how does the ampersand(&) sign work in c++?
- Passing by reference in C
- What does ** do in C language?
- When should I use the new keyword in C++?
- expression must have integral type
- Is the sizeof(some pointer) always equal to four?
- How to printf a memory address in C
- How to convert const char* to char* in C?
- What’s the difference between * and & in C?
- Invalid type argument of -> C structs
- Get size of pointer in C
- Casting a pointer to an int
- Meaning of *& and **& in C++
- Initialization makes pointer from integer without a cast – C
- What are the differences between a pointer variable and a reference variable in C++?
- lvalue required as left operand of assignment error when using C++
- How do I determine the size of my array in C?
- Pointer Arithmetic
- dereferencing pointer to incomplete type
- char *array and char array[]
- C pointers and arrays: [Warning] assignment makes pointer from integer without a cast
- What does `*&` in a function declaration mean?
- What is the difference between const int*, const int * const, and int const *?
- What is the difference between const int*, const int * const, and int const *?
- Difference between char* and const char*?
- What’s the difference between char and char* in C++?
- #31 expression must have integral type
- How do you pass a function as a parameter in C?
- Invalid pointer error on invoking free() after malloc in C
- Using Dynamic Memory allocation for arrays
- expression must have integral type
- How do you pass a function as a parameter in C?
- How to make an array with a dynamic size? General usage of dynamic arrays (maybe pointers too)?
- How do you pass a function as a parameter in C?
- C free(): invalid pointer
- What’s wrong with my code? What is argv[1]?
- Valgrind: Invalid read of size 1
- Constant pointer vs Pointer to constant
- Reversing a string in C
- Warning: return from incompatible pointer type in C
- Warning: assignment from incompatible pointer type
- strcmp giving segmentation fault
- initial value of reference to non-const must be an lvalue
- Why am I getting this error: “data definition has no type or storage class”?
- Initialization from incompatible pointer type warning when assigning to a pointer
- Typedef function pointer?
- What is the use of intptr_t?
- Returning an array using C
- warning: passing argument ’from incompatible pointer type [enabled by default]’
- char pointers: invalid conversion from ‘char*’ to ‘char’?
- What is the difference between char array and char pointer in C?
- error: invalid initialization of non-const reference of type ‘int&’ from an rvalue of type ‘int’
- Reference to non-static member function must be called
- Why do I get “cast from pointer to integer of different size” error?
- Why use pointers?
- Undefined reference to main – collect2: ld returned 1 exit status
- Does stack grow upward or downward?
- C++ pass an array by reference
- Excess elements of scalar initializer for pointer to array of ints
- What exactly is meant by “de-referencing a NULL pointer”?
- typedef struct pointer definition
- Difference between char *argv[] and char **argv for the second argument to main()
- Difference between char* and char** (in C)
- Warning: comparison of distinct pointer types
- Realloc Invalid Pointer in C
- Dereference void pointer
- The difference between char * and char[] [duplicate]
- What does ‘return *this’ mean in C++?
- Is C++ Array passed by reference or by pointer?
- Difference between the int * i and int** i
- Pointer to 2D arrays in C
- Pointer to a string in C?
- Using pointer to char array, values in that array can be accessed?
- C – Error is “free(): invalid next size (normal) “
- malloc(sizeof(int)) vs malloc(sizeof(int *)) vs (int *)malloc(sizeof(int))
- lvalue required as increment operand
- What is a segmentation fault?
- What causes the Broken Pipe Error?
- How can I use pointers in Java?
- Undefined reference to pow( ) in C, despite including math.h [duplicate]
- Is “argv[0] = name-of-executable” an accepted standard or just a common convention?
- Creating a new directory in C
- Multiple definition of … linker error
- Does sizeof return the number of bytes or the number of octets of a type in C?
- Check if input is integer type in C
- Iterate through a C array
- Meaning of Exit Code 11 in C?
- Is there a standard sign function (signum, sgn) in C/C++?
- Printf was not declared in this scope
- How to free memory from char array in C
- Can I get Unix’s pthread.h to compile in Windows?
- Initializing 2D char array in C
- Process exited with return value 3221225477
- Fatal error, is this because of host?