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.
Implement itoa

Implement the standard I/O function itoa(). The itoa() function constructs a string representation of an integer. The parameters are:

value: the integer to be converted to string representation.
string: points to the buffer that is to hold resulting string.
radix: is the base of the number; must be in the range 2 – 36.

char *itoa(int value, char *string, int radix)
Remove Duplicates

Write a function to remove duplicate entries from a sorted array.

void RemoveDuplicates(int *pArray,int arraySize)
I’ve Got the Power (of 2)

Write a C function to test whether a number is a power of 2. Try to do it without using any loops.

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.
Words by String Reverse

Similar to the classic reverseString and reverseWords questions, this variation is to write a function that will reverse a string by words. For example, calling the function with the string “reverse this string by words” would return the string as “words by string this reverse”.

void reverseStringbyWords(char *aString)

What is a ‘namespace’ and what is it used for? What is the purpose of the ‘using’ declaration?

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