What will be output of the following “c” code?
=>For input as 1

Loading

โœช Choose the correct option.

What will be output of the following “c” code?
=>For input as 1 2


#include
int main(){
register int a,b;
int c;
scanf("%d%d",&a,&b);
c=~a + ~b + ++a + b++;
printf(" %d",c);
return 0;
}

A. -1
B. 0
C. 1
D. 2