A
Q. What will be output if you will compile and execute the following c code? #include<stdio.h>
int main(){
int a=2;
if(a==2){
a=~a+2<<1;
printf("%d",a);
}
else{
break;
} return 0;
}
- Correct Answer - Option(D)
- Views: 15
- Filed under category Data Structure and Algorithms (DSA)
- Hashtags:
Discusssion
Login to discuss.