saw this code somewhere
now what will be the outputCode:int i=1022/3>>2; printf("%d",i);
And can anyone explain what is happening here ?
saw this code somewhere
now what will be the outputCode:int i=1022/3>>2; printf("%d",i);
And can anyone explain what is happening here ?
Search the Web for "C bit shift". As for the question of "what will be the output ", that can easily be answered by writing a program, compiling it and running it.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
thanx a lot