what is run time error?
Answers were Sorted based on User's Feedback
Answer / sudha rani
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.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / venkat
run time error is the error which notify at the run time of
the program
| Is This Answer Correct ? | 3 Yes | 0 No |
a run time error is a logical error....
it can be infinite looping, division by zero or an arrray
overflow.
such errors can be managed with implementing the exception
handling concept.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vipin bhatia
no doubt run time error occur while runtime.. but when the
execution of program take place and we enter input max then
limit or answer reach upto max data type lime , error
occured also known run time error....
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / santhosh
UsUally c program!THEY are two types?
complie!and run time?
compile means high level language&low level language into
middile level langage!this is complier!run time is program
code convert into machine code(binarys)some code are not
accept machine code!that also become runtime erroe!
| Is This Answer Correct ? | 0 Yes | 0 No |
Run time error is occured only at runtime / execution time,
when we give the invalid input.
| Is This Answer Correct ? | 1 Yes | 3 No |
void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?..
32 Answers College School Exams Tests, CTS, HCL, iGate, SmartData,
char* f() return "hello:"; void main() {char *str=f(); }
Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has already been declared, use a do...while loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j .
Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;
Write a C program to enter 10 integer numbers through one variable and count how many of them are even using while loop ?
What is the code for following o/p * * * * * * * * * * * * * * * *
Why are memory errors hard to debug?
what is meant by linking error? how can i solve it? if there is a linking error " unable to open file 'cos.obj'? then what should i do?
what is syntax error?
Assume that the int variables i and j have been declared, and that n has been declared and initialized. Write code that causes a "triangle" of asterisks of size n to be output to the screen. Specifically, n lines should be printed out, the first consisting of a single asterisk, the second consisting of two asterisks, the third consistings of three, etc. The last line should consist of n asterisks. Thus, for example, if n has value 3, the output of your code should be * ** *** You should not output any space characters. Hint: Use a for loop nested inside another for loop.
what is the large sustained error signal that eventually cause the controller output to drive to its limit
Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .