C++ Programming Questions Answers - Chapter 1
-
22. Which type of variables can be referred from anywhere in the c++ code
- All variables
- Local variables
- Universal variables
- Global variables
Answer And Explanation
Answer: Option D
Explanation:
-
24. If value has not type, then the pointer pointing to this value will be known as
- Empty pointer
- Null pointer
- Void pointer
- None of above
Answer And Explanation
Answer: Option C
Explanation:
-
25. Which arithmetic operation can be done in pointer
- Multiplication
- Division
- Addition
- None of above
Answer And Explanation
Answer: Option C
Explanation:
-
26. Inline functions are invoked at
- Run time
- Compile time
- Debug time
- None of above
Answer And Explanation
Answer: Option B
Explanation:
-
27. Which operator is used for comparing two variables
- :=
- =
- =:
- ==
Answer And Explanation
Answer: Option D
Explanation: