From: "Lark" Newsgroups: comp.os.msdos.djgpp Subject: Re: Pointers to functions. Date: Sun, 7 Mar 1999 15:27:14 -0800 Organization: MindSpring Enterprises Lines: 17 Message-ID: <7bunlf$f86$1@camel29.mindspring.com> References: <7b9jku$o7o$1 AT news6 DOT svr DOT pol DOT co DOT uk> <36D9BD2F DOT A05C8E55 AT cartsys DOT com> <7br6n8$897$1 AT news6 DOT svr DOT pol DOT co DOT uk><7bu8hk$6b6$1 AT camel19 DOT mindspring DOT com> NNTP-Posting-Host: d1.8a.2c.de X-Server-Date: 7 Mar 1999 20:30:39 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >>What is the purpose(point, if you will) of having a pointer to a function? > so that a 'C' variable can indicate a 'variable' sort of function > i.e. a different actual function to be used in different contexts. Doesn't function overloading accomplish the same thing? For example - int add(int, int); float add(float, float); char * add(char *, char *); all add different object types. How is this different from what you were saying?