this is a quote from K&R pg no. 49
is this true for left shift also.is left shifting a signed quantity also machine dependent.Quote:
right shifting a signed quantity will fill with sign bits ("arithmetic bits") on some machines and with 0-bits ("logical shift") on others.
also i wanna know how can i determine whether my system uses ASCII encoding or EBCDIC or some else encoding.my OS is windows xp.