Bus Error while submitting the code

When i am submitting my code it gives bus error and the code is correct.
Could you please help?

share the code so we could spot the problem