C C++ Errors Question:
Download Questions PDF

What is run time error?

C C++ Errors Interview Question
C C++ Errors Interview Question

Answer:

An error that occurs during the execution of a program. In
contrast, compile-time errors occur while a program is
being compiled. Runtime errors indicate bugs in the program
or problems that the designers had anticipated but could do
nothing about. For example, running out of memory will
often cause a runtime error.
A runtime error is a computer error that appears in
the form of a message box consisting of a particular code
along with its corresponding definitions. Usually, a user
will notice that the computer becomes noticeably slow
before a runtime error appears.

After the runtime error message has been displayed and
closed, the software that shows this error would normally
close or freeze. In some cases, the operating system will
reboot.

Download C C++ Errors Interview Questions And Answers PDF

Previous QuestionNext Question
char* f()
return "hello:";
void main()
{char *str=f();
}
void main()
{
int i=7;
printf("N= %*d",i,i);
}