I am using int datatype in my code, but I am having % operations,
I check about divide by 0 error also.
There is any more possibility of occurring error.
I am using int datatype in my code, but I am having % operations,
I check about divide by 0 error also.
There is any more possibility of occurring error.
No, it is only caused by divide by zero. Run your code for zero input or very large input.
0 has always some relation with this type of error
take care of divide by 0