Question: what is runtime error in c++?
Answer: A runtime error is a program error that occurs while the program is running. The term is often used in contrast to other types of program errors, such as syntax errors and compile time errors. ... Another type of runtime error is a memory leak.