home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,693 of 243,242   
   Lawrence =?iso-8859-13?q?D=FFOlivei to Michael Sanders   
   Re: function pointer question   
   02 Jan 26 09:04:47   
   
   From: ldo@nz.invalid   
      
   On Fri, 2 Jan 2026 07:24:55 -0000 (UTC), Michael Sanders wrote:   
      
   > B: because every function must have a return type   
   >    *including function pointers*?   
      
   Yes. The type of the function pointer is of course that of the type of   
   functions it points to.   
      
   > C: what about ty[p]edef?   
      
   The same rule applies as with any typedef: put the name to be given to   
   the type in the place where the variable you might be declaring of   
   that type would go.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca