what is exceptions?
Answers were Sorted based on User's Feedback
An exception is an event, which occurs during the execution
of a program, that disrupts the normal flow of the program's
instructions.
| Is This Answer Correct ? | 23 Yes | 0 No |
Answer / raju
An exception is an event, which occurs during the execution
of a program, that disrupts the normal flow of the program's
instructions.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / billuyadav208
Exception is the run time error
eg.Null Pointer exception etc.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is the error in the following code: main() { int i=400,j; j=(i*i)/i; }
void main() { int i=1; printf("%d%d%d",i,++i,i++); } Cau u say the output....?
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?
full c programming error question based problem
what is the large sustained error signal that eventually cause the controller output to drive to its limit
#include<stdio.h> void main() { int i=1; printf("%d%d%d",i++,++i,i); }
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,
What is the code for following o/p * * * * * * * * * * * * * * * *
Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all the non-negative values into total. The loop terminates when a value less than 0 is read into amount. Don't forget to initialize total to 0. Instructor's notes: This problem requires either a while or a do-while loop.
when i use cout or cin call & then either << or >> .....it shows declaration syntax error...what should i do? cout<<"anything"; int a; cin>>a; return 0;
What is probability to guarantee that the task a programmer is going to create will be created and be able to run on a particular system (RTOS/GPOS).
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 .