Tricky one!!!

1 view
Skip to first unread message

TheSuyog

unread,
Aug 12, 2010, 11:45:00 AM8/12/10
to Knowledge Test
What's this supposed to mean:

int (*RetPtr(int (*FuncPtr1) (int))) (int (*FuncPtr2) (int));

??

TheSuyog

unread,
Aug 14, 2010, 10:03:31 AM8/14/10
to Knowledge Test
no answers?? :(

Ravina soni

unread,
Aug 15, 2010, 9:59:36 AM8/15/10
to knowledge-...@googlegroups.com


FuncPtr1 is function pointer to function which take a int argument
FuncPtr2 is function pointer to function which take a int argument
 
RetPtr is  function return a pointer to function (i.e FunPtr1 ) and take a pointer to function  (i.e FunPtr2 ) as argument  
 
Hope i m correct

Ravina

unread,
Aug 17, 2010, 9:50:25 AM8/17/10
to Knowledge Test


@Himanshu it's right or nt?

TheSuyog

unread,
Aug 17, 2010, 9:56:45 AM8/17/10
to Knowledge Test
sry for my inactive for sometime now...

@Ravina: ur answer is perfectly right! i appreciate ur knowledge :)

Ravina soni

unread,
Aug 19, 2010, 1:51:26 PM8/19/10
to knowledge-...@googlegroups.com
 
Thank you :)
Reply all
Reply to author
Forward
0 new messages