C++ Programming Questions Answers - Chapter 1
-
29. what is the size of int datatype for 32 bit system
- 1 byte
- 2 byte
- 4 byte
- 8 byte
Answer And Explanation
Answer: Option C
Explanation:
-
30. How we define our name for constants
- #constant
- #define
- #define_constant
- #constant_define
Answer And Explanation
Answer: Option B
Explanation:
-
31. \r is used for
- carriage return
- new line
- end of the line
- vertical tab
Answer And Explanation
Answer: Option A
Explanation:
-
32. C++ programs must contain
- start()
- system()
- main()
- program()
Answer And Explanation
Answer: Option C
Explanation:
-
33. What is the meaning of base class in C++
- Another class got inherit from this class
- It inherit other class
- It has a pointer variable
- It is the first class declared
Answer And Explanation
Answer: Option A
Explanation:
-
34. what is a class in c++
- Class in a collection of objects
- Class has noting to do with object
- It just have declaration of few variables
- None of above
Answer And Explanation
Answer: Option A
Explanation:
-
35. Reference is like a
- Pointer
- Structure
- Array
- None of above
Answer And Explanation
Answer: Option A
Explanation: