[comp.lang.c] Assigning Void Pointer, Thanks for the Help!

jmbj@grebyn.com (Jim Bittman) (02/19/90)

Thanks for all the help.  I received a number of responses
immediately, and ALL WERE CORRECT!!
The correct way to assign the null pointer is:

	myint = * (int *) varptr[5];

where varptr[5] is an array of void pointers.  I have tried
this and it works (with Turbo C 2.0).

Thanks Again,
Jim Bittman, jmbj@grebyn.com