MockReal Logo
Home
BlogPricing
For HR β†’
  1. Home
  2. Positions
  3. C++ Developer

C++ Developer

Description

Interview questions for C++ Developer

Interview Questions (14)

Q1Write a function that takes an array of integers as input and returns the length of longest sub array that contains at most two distinct integers.
Technical
Q2Implement a function that calculates the date after a given number of days.
Technical
Q3Explain what the volatile keyword means.
Technical
Q4Explain how you would measure the time between two events using peripherals.
Technical
Q5Write code that returns the total sum of two arrays.
Technical
Q6Write code that returns an error if an input array contains a value that is less than a threshold tolerance value.
Technical
Q7Write a wrapper function for malloc to always return an N-aligned address.
Technical
Q8What is priority inversion?
Technical
Q9When do you use the heap and when do you use the stack?
Technical
Q10Tell me what you know about memory fragmentation.
Technical
Q11How much memory does this struct take?
Technical
Q12Explain basics of Microcontroller Architecture.
Technical
Q13Swap contents of two registers in assembly.
Technical
Q14Explain the similarities and differences between a process and a thread.
Technical
MockReal Logo

Spoken interview practice for technical professionals

Product

  • Pricing
  • Questions
  • Positions
  • Resumes
  • For HR β†’

Company

  • Careers
  • About Us
  • Contact
  • Blog

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

Β© 2025 MockReal. Spoken interview practice. All rights reserved.