Aptiv Interview Question

2's complement c language code