> %d %d >> %d\n", 4 >> 1, 8 >> 1);  return 0;}"/>
Home / C Programming / Bitwise Operators :: Discussion

Discussion :: Bitwise Operators

  1. What will be the output of the program?

    #include 
    
     int main() 
     {   
         printf("%d >> %d %d >> %d\n", 4 >> 1, 8 >> 1);   
         return 0;
      } 
    

  2. A.

    4 1 8 1

    B.

    4 >> 1 8 >> 1

    C.

    2 >> 4 Garbage value >> Garbage value

    D.

    2 4

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment