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,820 of 243,242   
   Michael Sanders to Michael Sanders   
   Re: function pointer question   
   06 Jan 26 12:32:43   
   
   From: porkchop@invalid.foo   
      
   On Mon, 5 Jan 2026 08:39:53 -0000 (UTC), Michael Sanders wrote:   
      
   > I might have questions down the road...   
      
   One more question, but 1st the context...   
      
   I asked ChatGPT this question:   
      
       In C, what is the most common meaning of (void) *foo   
      
   Its reply:   
      
       In C, (void) *foo most commonly means:   
      
       “Evaluate *foo, but explicitly discard its value.”   
      
       It is a cast-to-void used to silence warnings about an   
       unused expression or unused result.   
      
   My question: Why?   
      
   --   
   :wq   
   Mike Sanders   
      
   --- 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