C++ interview questions

Want to become an expert in cracking C++ interview questions?

Start with practicing the questions below. Whether a question involves multiple choice or live coding, we will give you hints as you go and tell you if your answers are correct or incorrect.

After that, take our timed public C++ interview questions test.

To use our service for testing developers, purchase one of the paid plans for companies.


1. Palindrome
C++ Strings Public

A palindrome is a word that...
Easy  
10min
Solve question

2. BinarySearchTree
C++ Algorithmic thinking Data structures Public

Binary search tree (BST) is...
Easy  
15min
Solve question

3. UserInput
C++ OOP Public

User interface contains two...
Easy  
15min
Solve question

4. TwoSum
C++ Algorithmic thinking Searching Public

Write a function that, give...
Easy  
30min
Solve question

5. MultipleChoiceTest
C++ Bug fixing Memory management OOP Public

Multiple choice test has se...
Hard  
15min
Solve question

6. SortedSearch
C++ Algorithmic thinking Public

Implement function countNum...
Hard  
20min
Solve question

7. TrainComposition
C++ Algorithmic thinking Data structures Public

A TrainComposition is built...
Hard  
20min
Solve question

8. Path
C++ Data structures Strings Public

Write a function that provi...
Hard  
30min
Solve question

If you feel ready, take one of our timed public C++ interview questions tests:

  • C++ online test ( Easy  /  Hard )
  • C++ Algorithms online test ( Easy  /  Hard )
  • C++ and SQL online test ( Easy  /  Hard )
  • SQL and C++ Algorithms online test ( Easy  /  Hard )
Not exactly what you are looking for? Go to our For developers section.