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 are the different types of errors in C and when they occur?
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.
Why are memory errors hard to debug?
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?
what is exceptions?
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(); } }
What is the code for following o/p * * * * * * * * * * * * * * * *
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
Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;
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
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