Top 50
Topic roadmap
Updated weekly · Last refresh Nov 1

Top 50 c/c++ Interview Questions

The most frequently asked c/c++ questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~21htotal time
50companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
c/c++Start here. 46 questions · ~1150 min
Difference Between Pointer and ReferenceMedium
Practice
Recently asked

Simulate pointer rebinding and reference aliasing to demonstrate their different mutation behavior.

c/c++CodingpointersApplied MedicalGeneral AtomicsFIS
Stack vs Heap AllocationMedium
Practice
Recently asked

Classify simplified C and C++ declarations as stack or heap allocations using allocation keyword detection.

c/c++StackCodingGlean TechnologiesIntercontinental ExchangeArm
32-bit Multiply on 16-bit ALUHard
Practice

Multiply two unsigned 32-bit values using only 16-bit partial products and explicit carry propagation.

c/c++Bit ManipulationAlgorithmsNVIDIA
RTOS vs General OSEasy
Practice
Recently asked

Classify an operating system as RTOS or GPOS from deterministic scheduling and deadline guarantees.

c/c++CodingRTOSHCLTechHHoneywell AerospaceBooz Allen Hamilton
Toggle Bits in Hardware RegisterMedium
Practice

Use bitwise operators to set, clear, or toggle selected bits in a 32-bit register.

c/c++Bit ManipulationCodingCCadence Design SystemsMMantra SoftechAMD
C Code ProblemsHard
Practice
Recently asked

Detect memory-safety, initialization, bounds, and resource-management defects in a Cisco switch packet parser.

c/c++code analysisclean codeCisco Restaurant + BarCisco
Signed vs Unsigned C OutputHard
Practice
Recently asked

Determine C's mixed signed unsigned output, explain integer promotions, and propose a type-safe correction.

c/c++code analysiscompiler optimizationAMD Construction GroupAMD
Reverse Bits Without LookupMedium
Practice
Recently asked

Reverse all 32 bits of an unsigned integer using iterative bit manipulation without a lookup table.

c/c++Bit ManipulationMathIInternational Motors CanadaAdvanced Micro Devices
More c/c++ questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
2
memory management4 questions · ~100 min
More memory management questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.