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
-
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
-
25. Which arithmetic operation can be done in pointer
- Multiplication
- Division
- Addition
- None of above
Answer And Explanation
Answer: Option C
-
26. Inline functions are invoked at
- Run time
- Compile time
- Debug time
- None of above
Answer And Explanation
Answer: Option B
-
27. Which operator is used for comparing two variables
- :=
- =
- =:
- ==
Answer And Explanation
Answer: Option D