C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 29)
29.
Which of the following problem causes an exception?
Missing semicolon in statement in main().
A problem in calling function.
A syntax error.
A run-time error.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
11 comments Page 1 of 2.

Ojaswi said:   1 decade ago
What does causing an exception mean ?
(1)

Xyz said:   1 decade ago
Exceptions are thrown during runtime..

Venkatesh said:   1 decade ago
I want to know differences between runtime and compile time?

Premlata said:   1 decade ago
Compile time based on programming syntax error checking.

Run time based on the logic of program.

Harshal said:   1 decade ago
Exceptions provide a way to react to exceptional circumstances (like runtime errors) in our program by transferring control to special functions called handlers.

Dhir said:   1 decade ago
When illegal use of memory or address that means program having run time error & these program have no any syntax error, so no compilation error.

Exp. Run time error- segmentation fault or core dumped.

Payal Y. Makan said:   1 decade ago
The remaining 3 options are compile time errors and exceptions are run time errors that occur when we run the program.

Abc said:   1 decade ago
What an exception mean?

Shailendra said:   10 years ago
Exception is process to find out the error in the program.

Sri said:   10 years ago
Exception are check the error for run time.


Post your comments here:

Your comments will be displayed after verification.