Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C
How to declare this function...
How to declare this function...
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Sreeramu
New Member
Join Date:
Apr 2007
Posts:
11
#1
How to declare this function...
Mar 25 '08, 09:47 AM
Declare a pointer to a function which takes array of pointer to a function as an argument and return the pointer to a function.....
how to declare this....
gpraghuram
Recognized Expert
Top Contributor
Join Date:
Mar 2007
Posts:
1275
#2
Mar 25 '08, 11:38 AM
Originally posted by
Sreeramu
Declare a pointer to a function which takes array of pointer to a function as an argument and return the pointer to a function.....
how to declare this....
Go through K&R C book to get an answer for this
raghuram
Comment
Post
Cancel
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#3
Mar 25 '08, 03:02 PM
I think this going to be very hard to do. You can return a type from a function or a pointer to a type-and that's all. That is, you cannot return the address of an array or a function.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment