Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
✍: Guest
Answer1
If you want the code to be even slightly readable, you will use typedefs.
typedef char* (*functiontype_one)(void);
typedef functiontype_one (*functiontype_two)(void);
functiontype_two myarray[N]; //assuming N is a const integral
Answer2
char* (* (*a[N])())()
Here a is that array. And according to question no function will not take any parameter value.
2012-03-09, 2822👍, 0💬
Popular Posts:
What are the standard ways of parsing XML document? XML parser sits in between the XML document and ...
What is the difference between mysql_fetch_object() and mysql_fetch_array() functions in PHP? mysql_...
Explain in detail the fundamental of connection pooling? When a connection is opened first time a co...
What is application domain? Explain. An application domain is the CLR equivalent of an operation sys...
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtua...