C Programmer Interview Questions

179 c programmer interview questions shared by candidates

If there are two circles with center point of circle 1: P1(x1,y1), radius : r1 and center point of circle 2 : P2(x2,y2), radius : r2 and Circle 1 as player and Circle 2 as enemy, then what is the function, algorithm, or your analysis to detect that player collide with enemy ?
avatar

C++ Game Programmer

Interviewed at Gameloft

3.7
Sep 5, 2017

If there are two circles with center point of circle 1: P1(x1,y1), radius : r1 and center point of circle 2 : P2(x2,y2), radius : r2 and Circle 1 as player and Circle 2 as enemy, then what is the function, algorithm, or your analysis to detect that player collide with enemy ?

Viewing 1 - 10 interview questions

Glassdoor has 179 interview questions and reports from C programmer interviews. Prepare for your interview. Get hired. Love your job.