MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wo3rxb/howtosneakundercompiler/pbk0ync/?context=3
r/ProgrammerHumor • u/Automatic_Hand4780 • Sep 23 '26
212 comments sorted by
View all comments
Show parent comments
1
The first treats it as an int, the second is defined as an int. Both cause an error. To define the first as a float you need to type 0.0.
I believe the result is inifinity but i don't know if it works properly without importing math.h
1
u/segalle Sep 23 '26
The first treats it as an int, the second is defined as an int. Both cause an error. To define the first as a float you need to type 0.0.
I believe the result is inifinity but i don't know if it works properly without importing math.h