Pre{line-height:1;color: #1e1e1e; Background-color: #f0f0f0; font-size:16px;}. Sysfunc{color: #627cf6; font-style:italic;font-weight:bold;}. Selffuc{color: #800080;}. Bool{color: #d2576f;}. Condition{color: #000080; font-weight:bold;}. Key{color: #000080;}. Var{color: #800000; font-style:italic;}. Digit{color: #ff00ff; font-weight:bold;}. Includepre{color: #1e1e1e;}. operator? {color: #008000; font-weight:bold;}
Pointer array?? The difference between array pointers
?
These two concepts are highly confusing and can be assisted in the following ways:
Array of pointers
Shaping an array
Character array
?
So, the meaning of the pointer array is an array, the element is the pointer type
?
Example:
char?*
p[
2]={"AB", "CD"};
Array pointers
Shaping pointers
Character pointer
?
As a guide, the meaning of an array pointer is a pointer, and this pointer refers to a set of
??
Example:
Char?
(*
P
) [
2];?
Char??
array[
2];
P
=&
array;?
pointer function???? The difference between function pointers
Pointer functions
Shaping functions
Character functions
??
So, the pointer function is a function that returns a value as a pointer
?
Example:? int?*?test ();
function pointers
Shaping pointers
Character pointer
Array pointers
?
The function pointer is a pointer to the function.
?
Example: int?* (*p) ()
This article uses the calligraphy and painting novel software, content and software independent, calligraphy and painting fiction software? More enjoyable to read, more enjoyable to write, easier to publish.
Pointer array?? The difference between array pointers. xml