How to read "char * const * (* next) ();"

xiaoxiao2021-03-05  101

A. First, Go To The Variable Name, "Next", and Note That IT IS Directly Enclosed by Parentheses.

B1. SO We group it with what else is in the parenthese, to get "Next is a pointer to ...".

.

B2. Rule B.2 TELLS US THE HIGHEST Precedency Thing is The Function Parentheses At The Right, So We Have "Next Is A Pointer to A Function Returning ..."

B3. The process The prefix "*" to get "Pointer To".

C. Finally, Take The "char * const", as a constant pointer to a character.

转载请注明原文地址:https://www.9cbs.com/read-38601.html

New Post(0)