C++ Interview Question and Answers
26. |
What the data types can be used in two dimensional arrays? |
|
The dimensions (rows/columns) of an array can be indicated- Using integer constants
-
Using const identifier of integer or ordinal
-
Using char constants
-
Using enum identifiers
|
|
|
27. |
What sort of software is used to solve any specific problem? |
|
The application software is used to solve any specific problem. |
`
|
|
28. |
What is an object? |
|
- A group of data and the operations are termed as object.
- The operations represent the behavior of the object.
|
|
|
29. |
What is the significance of an object? |
|
- An object is a group of related functions and data that serves those functions.
- It is a kind of self–sufficient "sub program" with a specific functional area.
|
|
|
30. |
What is meant by void function? |
|
- The functions that return no value are declared as void.
- The data type of a function is treated as int, if no data type is explicitly mentioned.
|
|
|