283,852 views
9 votes
9 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 OakNinja
by
3.0k points

2 Answers

21 votes
21 votes

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 Snkashis
by
3.1k points
19 votes
19 votes

Answer:

W

Step-by-step explanation:

W

User Statham
by
3.0k points