Can I set an int to NaN? If yes, then how can I check if an int is NaN or not?
int
NaN
No, you cannot set an int to NaN.