bitwise operator
#include <stdio.h>
int main()
{
printf("Output = %dn",~35);
printf("Output = %dn",~-12);
return 0;
}
bitwise operator
#include <stdio.h>
int main()
{
printf("Output = %dn",~35);
printf("Output = %dn",~-12);
return 0;
}
;bitwise or
#include <stdio.h>
int main()
{
int a = 12, b = 25;
printf("Output = %d", a|b);
return 0;
}
bitwise not
Copy CodeNOT 10110101 (decimal 181)
-------- =
01001010 (decimal 74)
bitwise operator
#include <stdio.h>
int main()
{
int a = 12, b = 25;
printf("Output = %d", a&b);
return 0;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us