Home / C Programming / Bitwise Operators :: Discussion

Discussion :: Bitwise Operators

  1. What will be the output of the program?

      #include
      int main()
      {    
         char c=48;   
         int i, mask=01;  
         for(i=1; i5; i++)   
         {    
             printf("%c", c|mask);         
             maska= mask1;  
         }    
         return 0; 
      } 
    

     

  2. A.

    12400

    B.

    12480

    C.

    12500

    D.

    12556

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment