News for hackers. Stuff that matters.
Re:Massacring C Pointers (2018) by icedchai on Saturday September 05, 2020 @07:32PM (#24387694)
All variables have types in C. You can't declare a "void" variable. You can declare a void function. Try assigning it to a variable. You can't. void pointers (void*) are a different story.
Re:Massacring C Pointers (2018) by eru on Sunday September 06, 2020 @05:41AM (#24390179)
So just the opposite of what the comment you replied to suggested:

'void' is a type, but in C values of the type void are not first class. Ie a function can return a value of type void, but you can't assign it to a variable.