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 |
errors are known as?
3 Answers EX, State Bank Of India SBI,
what is meant for variable not found?
#include<stdio.h> void main() { int i=1; printf("%d%d%d",i++,++i,i); }
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
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(); } }
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.....
void main() { int i=7; printf("N= %*d",i,i); }
Using string functions write a program that will accept the name of the capital as input value and will display the corresponding country. ------------------------ Capitals Countries ------------------------ Capitals Countries Ottawa Canada Moscow Russia Rome Italy I can't not get it to run properly
full c programming error question based problem
what is run time error?
Write a program to accept two strings of Odd lengths. Then take all odd characters from one string and even characters from the other and concatenate and produce a string.
WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }