138k views
4 votes
What is the value of the variable result after these lines of code are executed?

>>> a=6

>>> b=2

>>> C=3

>>> result = a*b-alc

The value of the variable is

User Zooglash
by
4.7k points

2 Answers

1 vote

Answer:

a + b - a|c = 7

Step-by-step explanation:

"The output of bitwise OR is 1 if at least one corresponding bit of two operands is 1. In C Programming, bitwise OR operator is denoted by |."

-Ayush Rikhra

Good Luck!

What is the value of the variable result after these lines of code are executed? &gt-example-1
User Tomasina
by
4.0k points
4 votes

Answer:

W

Step-by-step explanation:

W

User Darkheartfelt
by
4.0k points