How would you set a variable to equal infinity (or any guaranteed largest number value) in C?
#include //the header file which need to be included// int a=INT_MAX; //Suppose "a" be that integer whose value you want largest//