[TUHS] A New History of Modern Computing - my thoughts

Larry McVoy lm at mcvoy.com
Tue Nov 30 00:44:13 AEST 2021


On Mon, Nov 29, 2021 at 12:52:06AM -0700, arnold at skeeve.com wrote:
> arnold at skeeve.com wrote:
> 
> > 	void myproc();
> > 	void (*functptr) = myproc;
> > 	...
> > 	funcptr()
> 
> Make that
> 
> 	void (*funcptr)() = myproc.
> 
> Sorry.

Function pointers are the one part of C that I have to relearn every time.
-- 
---
Larry McVoy            	     lm at mcvoy.com             http://www.mcvoy.com/lm 


More information about the TUHS mailing list