Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

a question

Name: Anonymous 2012-01-09 11:02

This was asked to me in an interview. I am wondering how many of you know this

What is the type of the addition of an unsigned and a signed integer in C?

Name: Anonymous 2012-01-09 13:42

6.3.1.8 Usual arithmetic conversions
from the C99 standard
Unsigned if it's unsigned int and int (same rank)
Signed if it's unsigned short int and int (int can represent all values of unsigned short int)
FUCK WHY THE FUCK IS THIS WRITTEN IN A FUCKCONFUZZLING MANNER

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List