Dear all,
can i use hex value with switch() statement??
eg:-
variable1; // 2 byte hexvalue
switch(variable1)
{
case 0x0000:
case 0x0001:
}
thanks
cool
Dear all,
can i use hex value with switch() statement??
eg:-
variable1; // 2 byte hexvalue
switch(variable1)
{
case 0x0000:
case 0x0001:
}
thanks
cool
Yes. You really should try things on your own. It's amazing what you can learn...
Quzah.
Hope is the first step on the road to disappointment.
>>can i use hex value with switch() statement??
Yes, hex literals count as an integral constant in most circles...like the world. :-)
*Cela*