Test C++

Test C++ with answers to assess your knowledge and prepare for job interviews. Assess your technical level in 20 minutes.

Validate and promote your skills
Private results unless you share them
Compare your results to the developers average

Test details

Intermediate
June 2024
35 minutes
4.6/5(9)

The C ++ MCQ will allow you to test your general knowledge, from beginner to more advanced level!
Specifically, it highlights your level of proficiency in the following areas: coding concepts, such as command line arguments, pointers, and memory management. So we will see:

  • Pointers (char pointers, pointer arithmetic)
  • Memory allocations / deallocation
  • Classes - constructors, object creation, deletion, initialization list
  • Concepts OOPs - Inheritance / Polymorphism
This test consists of 20 questions randomly selected from a database of 37 questions in C++.Discover all our interview questions and answers here
⚠️ Ranking results of all timemay not be relevant because the test has not been taken enough times yet.
1.
developer avatar
Georget CAMY
2803 points
2.
developer avatar
Dominique
2746 points
3.
developer avatar
Ahmed
2604 points
4.
developer avatar
Bekx
2546 points

Test author : Abha Agrawa

I have been programming in C ++ for 9 years now. I mobilize my expertise in the creation of software solutions for the financial industry. Working with WeLoveDevs on this questionnaire was an exciting opportunity mixing IT development and recruiting experience simultaneously!

Contributors7
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar

Sample question

Consider a class Number which has one private data member int n and the following member functions

const Number Number::addInt(int i, const Number& obj)
 {
     	   Number temp;
     	   temp.n = i + obj.n;
     	   return temp;
  }
        	 
 const Number& Number::subInt(int i, const Number& obj)
 {
     	   Number temp;
     	   temp.n = i - obj.n;
     	   return temp;
  }
See 37 test questions.Participate in test improvement

Developers ratings

developer avatar
Timothé
06/06/2024
Some questions are broken, might be nice to fix them
developer avatar
Jean-Dominique Orvoen
11/05/2024
très bon test pour se préparer
developer avatar
29/02/2024
developer avatar
Sid Ali
26/01/2024
developer avatar
30/09/2022