Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: assignment question Keywords: array of pointers to functions returning void Message-ID: <7138@brl-smoke.ARPA> Date: 19 Jan 88 15:46:39 GMT References: <3544@umn-cs.cs.umn.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <3544@umn-cs.cs.umn.edu> smiller@umn-cs.cs.umn.edu (Steven M. Miller) writes: >void (*vectors[255](); > vectors[2] = (void *) 0x1234; How about using the right type? vectors[2] = (void (*)()) 0x1234;