This site features a collection of common technical interview questions gathered by a group of programmers who have been through, and given, lots of technical interviews. There is an emphasis on C++ and game programming technical interviews, but most of the questions are relevant to any technical interview.
Bits ‘n Bytes

Write a function that returns the number of bits that are “on” (set to 1) in a byte. How can you make this function as fast as possible?

int countBits(unsigned char aByte)
{
Protecting My Privates

In C++, what is the difference between the access modifiers private and protected?

Lucky Number Seven

Write a fast routine for multiplying an unsigned integer by 7. Then write a fast routine for dividing an unsigned integer by 7.

Programming Interviews Exposed
This book teaches you critical interviewing skills such as how to ask effective questions, how to best approach a problem, and what to do when you get stuck. Integrated throughout the book are problems taken from real interviews at top computer companies, followed by an in-depth analysis and explanation of the thought process leading to solutions.
Virtually Destroyed

When (and why) should a destructor be declared as virtual?

gnirtS esreveR

Write a function that will reverse a string in-place. Assume that the string is null-terminated.

void reverseString(char *aString)
{
Do you have a technical interview question you would like to submit? Some tips you would like to pass on? Just want to say hi? Feel free to contact us