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

My Results

Test details

Intermediate
July 2024
36 minutes
4.6/5(10)

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 36 questions in C++.Discover all our interview questions and answers here
1.
developer avatar
Georget CAMY
2803 points
2.
developer avatar
Dominique
2746 points
3.
developer avatar
Amari
2739 points
4.
developer avatar
Kévin DIDIER
2660 points
5.
developer avatar
Emile Elric
2634 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 36 test questions.Participate in test improvement

Developers ratings

developer avatar
Amari
19/07/2024
Test intéressant et subtile. Je suis satisfait de mon score.
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