C++ Interview Question and Answers
11. |
What is an expression? |
|
An expression is any statement which is composed of one or more operands and returns a value. It may be combination of operators, variables and constants. |
|
Ruthrapriya ,says |
Feb 09, 2018 |
An expression is a combination of operators, constants & variables arranged as per the rules of the language. |
|
12. |
What are access specifiers? |
|
The access specifiers are Public, Private, Protected. |
`
|
|
13. |
What are tokens? |
|
The smallest individual units in a program are called tokens. |
|
|
14. |
What is the difference between implicit and explicit conversion? |
|
When data types are mixed in an expression, the conversion is performed automatically. This process of automatic conversion is called implicit conversion.
Explicit Expressions are user defined expressions. C++ provides type casting facility. The expression can be converted into a specific type. |
|
|
15. |
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. |
|
|