Adobe Interview Question
Software Engineer / Developers@Warewa - Yes, Its a valid representation, Caller define the size. not the definition.
@Onion - My question was about the difference. These are the definitions of both the declaration. Did you mean the differences are same as definitions? Nothing more ?
in first statement, we are declaring a function pointer p, which takes 2 arguments (an array 'a' of void pointers and an integer) and returns nothing.
- onion834 October 03, 2008in 2nd statement, we are declaring an array 'p' of function pointers, with 2 arguments ( a void pointer and an integer) and returns a void pointer.