user
What type of error will occur if a program is not working as expected?


assistant
A runtime error will occur if a program is not working as expected. Runtime errors are caused by errors in a program's code that prevent it from running as intended. Runtime errors can range from simple errors such as incorrect syntax to more serious errors such as an out of bounds array.