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 |
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.
How to create a program that lists the capital country when told what the original country is? (Terribly sorry, I'm a novice programmer and would appreciate any help ;). Cheers, Alexxis
what are the techniques for reducing the fragility of a memory bug?
what is the error in the following code: main() { int i=400,j; j=(i*i)/i; }
#include<>stdio.h> #include<>conio.h> { printf("hello"); void main() getch(); } what the out put of this program and why ......plz clear my answer
How to convert hexadecimal to binary using c language..
1 Answers Bajaj, GAIL, Satyam, Zenqa,
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.....
what is meant for variable not found?
Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;
printy(a=3,a=2)
I can not get my C++ program to work right. It is supposed to tell if a word is a palindrome or not, but it only tells thet the word is not a palindrome. And I can't fix it.
How to reverse a linked list without using array & -1? Thank you.