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 |
Write down the difference between c. Loop and goto statement d. (!0) and (!1) e. (1= =! 1) and (1!=1) f. NULL and !NULL
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 run time error?
printy(a=3,a=2)
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
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.)
Why are memory errors hard to debug?
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 .
Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;
how tally is useful?
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....
What are the different types of errors in C and when they occur?