Programming Languages C Objective
Mar 08, 2013

What will be output of the following c code?

#include<stdio.h>
int main()
  {
    char a=250;
    int expr;
    expr= a+ !a + ~a + ++a;
    printf("%d",expr);
    return 0;
  }

Choose the correct answer:
A) -6
B) 249
C) -5
D) 250
Detailed Explanation

No Explanation

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback