M
Manish_Ganvir
Please do not use pointer arithmetic or for loops
Solution
Solution
Manish_Ganvir said:Please do not use pointer arithmetic or for loops
Solution
Manish_Ganvir said:Please do not use pointer arithmetic or for loops
Solution
Is there any one line solution?
Is there any one line solution?
Is there any one line solution?
Manish_Ganvir said:Please do not use pointer arithmetic or for loops
Solution
Set an unsigned int to 1, use the left shift operator << , test whether its
zero.
Clark said:That won't always work (think padding-bits, trap representations, etc.).
Eric Sosman said:Not applicable. The shift operator works with
the values of its operands, not with their representation.
Manish_Ganvir said:It is a nice way to say that you dont know the solution, i really
appreciate your effort guys
Manish_Ganvir said:It is a nice way to say that you dont know the solution, i really
appreciate your effort guys
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.