348
Take FP64 type as an example:
As shown in the figure above, the global pointer GlobalV is declared outside the function, and
then initialized in the main function to point to the space of the software component. The first
address of the space is the address where W[0] is located. Finally, the value of the variable
can be obtained through pointer operation in other functions.
Take structure type as an example:
The declaration of structure
Structure type global variable usage example
tudonghoatoancau.com