How would you set a variable to equal infinity (or any guaranteed largest number value) in C?
#include <limits.h> int x = INT_MAX;
EDIT: answered before the questioner clarified, I was just guessing what type they wanted.
1.4m articles
1.4m replys
5 comments
57.0k users