Motorola Mobility Interview Question: In the test there was a C cod... | Glassdoor

Interview Question

Senior Software Engineer Interview Lowell, MA

In the test there was a C code snippet, I you are asked to

  find a semantic error in the code.

Interview Answer

1 Answer


The code was written with intent to change a certain variable which was passed into a function. But because it was passed-in by value (not by pointer or reference) the external value would not be changed.

Interview Candidate on Jun 13, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.