Search test library by skills or roles
⌘ K

Adaface Sample C++ Questions

Here are some sample C++ questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Exceptions
Exceptions
Solve
                                    What will the following C++ code output?
                                    
 image

Options:

  • 12(2)1
  • 21(2)(1)
  • 21(1)(2)
  • 12(2)13
  • 21(1)3(2)
  • 213(2)(1)
  • 1312(2)(1)
  • 1213(1)(2)

Easy

Namespaces
Solve
                                    What will the following C++ code output?
                                    
 image

Options:

  • 00
  • 01
  • 10
  • 11

Medium

Struct Class
Solve
                                    What will the following C++ code output?
                                    
 image

Options:

  • 1221
  • 1222
  • 1121
  • 1122
  • 2221
  • 2121
  • 2122

Medium

Overloading
OOPs
Solve
                                    What will the following C++ code output?
                                    
 image

Options:

  • 1 2 ~1 ~2 !1 !2
  • 1 ~1 2 ~2 ~2
  • 2 !2 1 ~1
  • 2 ~2 1 ~1
  • 1 2 ~1 !2
  • 2 1 ~2 !2 ~1
🧐 Question🔧 Skill

Medium

Exceptions
Exceptions
2 mins
C++
Solve

Easy

Namespaces
2 mins
C++
Solve

Medium

Struct Class
2 mins
C++
Solve

Medium

Overloading
OOPs
2 mins
C++
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Exceptions
Exceptions
C++
Medium2 mins
Solve
Namespaces
C++
Easy2 mins
Solve
Struct Class
C++
Medium2 mins
Solve
Overloading
OOPs
C++
Medium2 mins
Solve

Adaface questions are trusted by enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
Join 1200+ companies in 75+ countries.
今日、最も候補者のフレンドリーなスキル評価ツールをお試しください。
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
私たちとしゃべる
40 min tests.
No trick questions.
Accurate shortlisting.
Ada
● Online
Previous
Score: NA
Next
✖️