Had a tech test today which was in the main ok. One question though did my head in, I was asked something like:
int i = 500;
i = i << 4;
Tell us what i is.
What the hell is the << operator, its probably something dead obvious but I seem to have gone through my career without using << ?
int i = 500;
i = i << 4;
Tell us what i is.
What the hell is the << operator, its probably something dead obvious but I seem to have gone through my career without using << ?
Comment