InterviewSolution
Saved Bookmarks
| 1. |
How Do I Declare An Array Of N Pointers To Functions Returning Pointers To Functions Returning Pointers To Characters? |
|
Answer» If you WANT the CODE to be even slightly READABLE, you will use TYPEDEFS. typedef char* (*functiontype_one)(void); typedef functiontypeone (*functiontype_two)(void); functiontype_two myarray[N]; //assuming N is a const integralIf you want the code to be even slightly readable, you will use typedefs. |
|