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.
2.1m questions
2.1m answers
60 comments
57.0k users