Hi can someone please help me,

I have got this code below and I do not know what the "<<" and the ">>" operators functionalities are. The code is basically;

Code:
unsigned long nn, m, n;

nn = 512;

n=nn << 1;         //these are the 3 lines of code that I do not understand
m=n >> 1;
m >>= 1;
Any help would be appreciated

Adam

Last edited by shabbir; 30Mar2007 at 07:19.. Reason: Code formatting