Core Language interview questions

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.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Reference?

Junior
  1. A.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
  2. B.an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
  3. C.placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
  4. 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
  1. A.const qualifier
  2. B.Reference
  3. C.Pointer
  4. D.prvalue

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. 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
  2. B.Reference — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
  3. C.Reference — placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
  4. 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
  1. A.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
  2. B.an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
  3. C.a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
  4. 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
  1. A.prvalue
  2. B.Reference
  3. C.auto keyword
  4. D.Pointer

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Pointer — a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
  2. B.Pointer — a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
  3. C.Pointer — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
  4. 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
  1. A.placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
  2. B.an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
  3. C.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
  4. 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
  1. A.prvalue
  2. B.const qualifier
  3. C.auto keyword
  4. D.Reference

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. 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
  2. B.const qualifier — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
  3. 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
  4. 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
  1. A.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
  2. B.a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
  3. C.placeholder type deduction that infers a variable's type from its initializer, stripping top-level references and cv-qualifiers unless written explicitly
  4. 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
  1. A.auto keyword
  2. B.const qualifier
  3. C.prvalue
  4. D.Pointer

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.auto keyword — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
  2. 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
  3. 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
  4. 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
  1. A.an alias for an existing object that must be bound at initialization and can never be reseated to refer to a different object
  2. B.a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
  3. C.a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
  4. 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
  1. A.prvalue
  2. B.Pointer
  3. C.Reference
  4. D.const qualifier

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. A.prvalue — a promise that an object will not be modified through that name, enabling read-only access and compile-time enforcement of immutability
  2. B.prvalue — a value category for a pure computed expression that has no identity and initializes an object or is used as an operand
  3. C.prvalue — a variable holding a memory address that can be null, reassigned, and dereferenced to access the object it points to
  4. 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.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers