Home
Materials
Blog
Pricing
For HR β
πΊπΈ
English
Home
Positions
C++ Developer
C++ Developer
Description
Interview questions for C++ Developer
Interview Questions (14)
Q1
Write 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
Q2
Implement a function that calculates the date after a given number of days.
Technical
Q3
Explain what the volatile keyword means.
Technical
Q4
Explain how you would measure the time between two events using peripherals.
Technical
Q5
Write code that returns the total sum of two arrays.
Technical
Q6
Write code that returns an error if an input array contains a value that is less than a threshold tolerance value.
Technical
Q7
Write a wrapper function for malloc to always return an N-aligned address.
Technical
Q8
What is priority inversion?
Technical
Q9
When do you use the heap and when do you use the stack?
Technical
Q10
Tell me what you know about memory fragmentation.
Technical
Q11
How much memory does this struct take?
Technical
Q12
Explain basics of Microcontroller Architecture.
Technical
Q13
Swap contents of two registers in assembly.
Technical
Q14
Explain the similarities and differences between a process and a thread.
Technical
Copy