Question:What will be output when you will execute following c code?
#include<stdio.h>
int main(){
    char a=250;
    int expr;
    expr= a+ !a + ~a + ++a;
    printf("%d",expr);
    return 0;
}
 

A 249 

B 250 

C 0 

D -6 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 905

Copyright © 2024. Powered by Intellect Software Ltd