News for hackers. Stuff that matters.
Re:Declaring C String Constants by kccqzy on Wednesday May 17, 2017 @02:31PM (#14361368)
Yes it would behave differently. Putting void in the parenthesis tells the compiler the function accepts no arguments at all.
Re:Declaring C String Constants by 0xffff2 on Wednesday May 17, 2017 @02:43PM (#14361529)
Good to know. I never bothered with `void` inside the argument list in C before (I primarily write C++, very rarely C). I will have to remember to be more explicit when I do write C code in the future.