Error on SIGFPE?

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.

1 Like

0 has always some relation with this type of error

take care of divide by 0

It because of large inputs or divide for zero. Thanks @sobhagya

//