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

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

4 Answers  


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.

3 Answers  


Why are memory errors hard to debug?

1 Answers  


how to convert decimal to binary in c using while loop without using array

50 Answers   Apple, Aptech, Arwen Tech, BCS, C2D Software, CEC,


what are the techniques for reducing the fragility of a memory bug?

1 Answers  






what is exceptions?

5 Answers   HCL, Wipro,


class test { int a; public: test(int b):a(b){} void show(){ cout<<a; } }; void main() { test t1; test t2(5); t1.show(); t2.show(); } }

1 Answers  


What is the code for following o/p * * * * * * * * * * * * * * * *

1 Answers  


I'm having trouble with coming up with the correct code. Thank You!! The assignment was to write a program using string functions that accepts a price of an item and displays its coded value. The base of the keys: X C O M P U T E R S 0 1 2 3 4 5 6 7 8 9 Sample I/O Dialogue: Enter Price: 489.50 Coded Value: PRS.UX

0 Answers  


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

3 Answers  


Display this kind of output on screen. 1 0 1 1 0 1 3. Display this kind of output on screen. 1 1 0 1 0 1 4. Display this kind of output on screen. 1 1 0 1 0 1 5.Display this kind of output on screen. 1 2 3 4 5 6 7 8 9 10

1 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,


Categories