what is exceptions?

Answers were Sorted based on User's Feedback



what is exceptions?..

Answer / nagen biswal

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

what is exceptions?..

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

what is exceptions?..

Answer / billuyadav208

Exception is the run time error
eg.Null Pointer exception etc.

Is This Answer Correct ?    1 Yes 0 No

what is exceptions?..

Answer / sansiri

sometimes difficult stage to get the correct answer for any program in this case the exception is used to solve the case
eg:: divide by 0
overflow of array size

Is This Answer Correct ?    0 Yes 0 No

what is exceptions?..

Answer / aswini

exception is nothing but a run time error

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C C++ Errors Interview Questions

Write down the difference between c. Loop and goto statement d. (!0) and (!1) e. (1= =! 1) and (1!=1) f. NULL and !NULL

0 Answers  


void main() { int i=5,y=3,z=2,ans; clrscr(); printf("%d",++i + --z + i++ + --i * ++y); i=5,y=3,z=2; ans=++i + --z + i++ + --i * ++y; printf("\n%d",ans); getch(); } Its output is 37 and 31.... Please explain me why its different How it works.....

2 Answers  


what is run time error?

7 Answers  


printy(a=3,a=2)

3 Answers  


What is the out put of this programme? int a,b,c,d; printf("Enter Number!\n"); scanf("%d",&a); while(a=!0) { printf("Enter numbers/n"); scanf("%d%d%d",&b,&c,&d); a=a*b*c*d; } printf("thanks!"); getche(); Entering numbers are a=1,b=2,c=3,d=4 b=3,c=4,d=-5 b=3,c=4,d=0

5 Answers   TCS,


How to create a program that lists countries capitals when country is entered? (Terribly sorry, I'm a complete novist to coding with C, am looking for inspiration and general tips on how to code and create this program.)

0 Answers  


Why are memory errors hard to debug?

1 Answers  


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 .

2 Answers  


Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;

3 Answers  


how tally is useful?

2 Answers  


UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....

5 Answers  


What are the different types of errors in C and when they occur?

4 Answers  


Categories