Question:What will be output of the following c program?
#include<stdio.h>
int main(){
    int class=150;
    int public=25;
    int private=30;
    class = class >> private - public;
    printf("%d",class);
    return 0;
}
 

A 1 

B 2 

C 4 

D Compilation error 

E None of these 

+ Answer
+ Explanation
+ Report
Total Preview: 651

Copyright © 2024. Powered by Intellect Software Ltd