I applied online on their website.
A recruiter sent me an email with a login for a C / C++ quiz which asked some questions about memory allocation , and potential bugs in code. All of them were multiple choice and pretty easy.
Some questions, though, I wasn't sure how to answer: for example
(This isn't an actual question just an example)
Is it possible for the following function to go into an infinite loop given an array and its size in C:
void foo( int* array , int array_size )
{
int index = 0;
for( ; index < array_size ; index++)
array[ index ] = 0;
}
Well, for some, I'm not sure. The problem don't clarify whether or not the user can put a negative array size for the variable array_size.
Using the words "possible" I put "yes" for most of the questions that asked that, but I'm not sure that's what they wanted since it wasn't clarified.
Apparently I didn't score high enough on the quiz, even though I had thought I got them all right.