const unsigned variable

What is a const unsigned variable? This is the first time I've seen it before. It had no explicit declaration whether it's an integer or floating point number. So I decided to test it out by typing it into MSVS 2010 Ultimate.

  const unsigned variable = 0;

When I hovered over variable it said const unsigned int. Can someone explain what this means?

unsigned and unsigned int are equivalent as signed and signed int though sometimes you may not substitute unsigned for unsigned int.:)
I see so by declaring something unsigned makes it an int.
Declaring an object unsigned makes it an unsigned int.
Yes that's what I meant :)
Topic archived. No new replies allowed.