TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.8] bit wise operator

public class Operator {
    public static void main(String[] args) {
        byte a=5;
        int b=10;
        int c=a>>2+b>>2;
        System.out.print(c);
    }
}

    

Options]

(a)60
(b)3
(c)0
(d)Compiler error        

Click to See Answer
(c)0    

Next | calling system.out.print insode of system.out.print

Previous | comparision between float and double

Hemen Ashodia [paper setter]
Register & recharge
Male Female
I agree Terms and Conditions