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.
Your Name Your Email-ID
Your Answer
`
12. What are access specifiers?
  The access specifiers are Public, Private, Protected.
 
Your Name Your Email-ID
Your Answer
13. What are tokens?
  The smallest individual units in a program are called tokens.
 
Your Name Your Email-ID
Your Answer
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.
 
Your Name Your Email-ID
Your Answer
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.
 
Your Name Your Email-ID
Your Answer
12345678910 Page 3 of 10