Quote Originally Posted by Igor Vartanov View Post
You really think that repeating your question without any additional explanation can help?

You go in loop from end to beginning setting p[i] = p[i-1]; finally p[0] = 0; (or any other required)

Sorry for repeating a question!!!!


for(i=0;i<31;i++)
{
p[i]=p[i-1];
cout<<p[i];
} // if i use this code the bits be shifted from left to right?



pl help me in this!!!!!