C++ Language INTERVIEW QUESTION & ANSWERS
71. |
What is the use of keyword register? |
|
The keyword register is used to declare that the storage class of the variable is a register type. |
72. |
What is the difference between break and continue statement? |
|
The break statement is used to terminate the control from the loop statements of the case-switch structure. The break statement is normally used in the switch case loop and in each case condition, the break statement must be used. If not, the control will be transferred to the subsequent case condition also.
The continue statement is used to repeat the same operations once again even checks the error. |
73. |
What are the types of errors in c++? |
|
There are four types of errors are : - Compiler errors
-
Linker errors
- Runtime errors
- Logical errors
|
74. |
What is string? |
|
String is a series of characters. The string is enclosed within double quotes. A string is used to write or store messages. ″HELLO″
|
75. |
What is the difference between errors and debugging? |
|
Errors may be made during program creation even by experienced programmers also. Such type of errors are detected by the Compiler.
Debugging means removing the errors. |