What is SIGFPE Runtime Error and how can it occur?

Refer Here . You will get **SIGFPE** when you try to divide or modulo a number by zero, i.e, x/0 or x%0 gives you a floating point error

1 Like

Probably, you have encountered this error while solving the first problem of today’s lunchtime. If yes, then you might have been taking the product of entire array, which will overflow after a certain number of multiplications and hence your product can become 0. So, lastly, you are dividing the number “x” by 0. Hence **SIGFPE** ie Floating Point Error.

2 Likes

I got it. Thank you.