Question:What will be output if you will compile and execute the following c code?


#include<stdio.h>
int main(){
  int i=3;
  if(3==i)
    printf("%d",i<<2<<1);
  else
    printf("Not equal");

A 1 

B 48 

C 24 

D Not equal 

E Compiler error 

+ Answer
+ Report
Total Preview: 1297

Copyright © 2024. Powered by Intellect Software Ltd