Why rand() returns value between ZERO to MAX_INT?