Deciphering Long Pointer Declarations
Table of Contents

Process

  1. Start with the name that will identify the pointer, which is known as the identifier.
  2. Move to the right until you encounter a right-parenthesis [symbol = ")" ] or reach the end. Do not stop if the () brackets are used to pass parameters to a function. Also do not stop on encountering brackets used with arrays: [ ].
  3. Now go left of the identifier to continue deciphering the declaration. Keep going left until you find a left-parenthesis [the symbol "(" ] or reach the end. Do not stop if the brackets are used to pass parameters to a function.

Examples

Click on the declaration to see what it means.





Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.