Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i would like to know how.....

Status
Not open for further replies.

arunpm

Programmer
May 29, 2001
6
DE
i would like to know meaning
(void*) (*calloc)(var1, var2) ;
void* pal[4][3] ;
(void*);
typedefvoid*
 
The (void*) (*calloc)(var1, var2); is function call.

Here, the calloc is pointer variable to a function and that function is having two argumnets. The (void *) is typecasting, the return address of the functions is typecased to void pointer.

This is void* pal[4][3]; declaration statement, the pal is a two dimensional array of pointer variables of the type void.

The simple (void*); statment may be wrong. If it is (void *) the this is a type casting statement [ The given pointer is typecased to void * ].

typedefvoid* this looks like an incomplete statement.

Regards
Maniraja S






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top