what is the difference between ERROR and EXCEPTION?

Answer Posted / bhagya lakshmi

error is during compilation time it occurs without we post
and exception is we post it with throw,catch

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstract class in oop?

526


What are the 3 pillars of oop?

611


How oops is better than procedural?

583


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6483


to find out the minimum of two integer number of two different classes using friend function

1637






What is polymorphism explain?

682


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1637


Can main method override?

583


What is this pointer in oop?

551


What is multilevel inheritance explain with example?

623


Explain the advantages of inheritance.

670


which feature are not hold visual basic of oop?

1721


What are the components of marker interface?

600


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2064


What does no cap mean?

590