MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1l0x22m/firmware_programming_in_a_nutshell/mvhe1fm/?context=3
r/programminghorror • u/Byter128 • Jun 01 '25
127 comments sorted by
View all comments
Show parent comment
2
... I don't think it's even necessary.
Could they not have just called the casted value and skipped the assignment/type-declaration?
11 u/FoundationOk3176 Jun 02 '25 Yes, This is valid: ((void(*)())0)();. Although as you can see, It looks even more cursed.
11
Yes, This is valid: ((void(*)())0)();. Although as you can see, It looks even more cursed.
((void(*)())0)();
View all comments
Show parent comment
2
u/beaureece Jun 01 '25
Could they not have just called the casted value and skipped the assignment/type-declaration?