15 Core Language questions from the C++ bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
B.an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
C.placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
D.a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
Answer + AI explanation with Pro
2. Which term means: "an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object"?
Junior
A.const qualifier
B.Reference
C.Pointer
D.prvalue
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Reference — an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
B.Reference — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
C.Reference — placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
D.Reference — a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
Answer + AI explanation with Pro
4. What is Pointer?
Junior
A.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
B.an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
C.a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
D.a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
Answer + AI explanation with Pro
5. Which term means: "a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to"?
Junior
A.prvalue
B.Reference
C.auto keyword
D.Pointer
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.Pointer — a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
B.Pointer — a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
C.Pointer — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
D.Pointer — placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
Answer + AI explanation with Pro
7. What is const qualifier?
Junior
A.placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
B.an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
C.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
D.a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
Answer + AI explanation with Pro
8. Which term means: "a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability"?
Junior
A.prvalue
B.const qualifier
C.auto keyword
D.Reference
Answer + AI explanation with Pro
9. Which statement is correct?
Junior
A.const qualifier — an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
B.const qualifier — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
C.const qualifier — placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
D.const qualifier — a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
Answer + AI explanation with Pro
10. What is auto keyword?
Mid
A.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
B.a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
C.placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
D.a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
Answer + AI explanation with Pro
11. Which term means: "placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly"?
Mid
A.auto keyword
B.const qualifier
C.prvalue
D.Pointer
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.auto keyword — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
B.auto keyword — a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
C.auto keyword — placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
D.auto keyword — a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
Answer + AI explanation with Pro
13. What is prvalue?
Senior
A.an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
B.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
C.a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
D.placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
Answer + AI explanation with Pro
14. Which term means: "a value category for a pure computed expression that has no identity and initializes an object or is used as an operand"?
Senior
A.prvalue
B.Pointer
C.Reference
D.const qualifier
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.prvalue — a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
B.prvalue — a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
C.prvalue — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
D.prvalue — an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Core Language question come with Pro.