what is the difference between ERROR and EXCEPTION?

Answer Posted / kasturi

error occur at compile time
it expection is also a error that ouccur at run time which can retify using try,throw and catch

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1594


Can enum be null?

746


#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

2295


any one please tell me the purpose of operator overloading

2143


What is the purpose of enum?

748






Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1364


What is destructor oops?

810


class type to basic type conversion

2063


What is ambiguity in inheritance?

815


What is static modifier?

814


What are oops functions?

764


What is coupling in oops?

795


Why do pointers exist?

853


Can we create object of interface?

800


Which method cannot be overridden?

746