Cover image for Naughty Dog
Logo

Naughty Dog

Engaged Employer

Naughty Dog

Add an Interview

Interview Question

Game Programmer Interview

-

Naughty Dog

What is negative 2 in hex?

Interview Answers

3 Answers

8

0xFE

Anonymous on

0

For a 32 bit, 0xFFFFFFFE (or 0xFE if sign extension is guaranteed)

Anonymous on

2

-0x2

Rain on

Add Answers or Comments

To comment on this, Sign In or Sign Up.