Computer Science, asked by christythomas063, 9 months ago

a=”3" b= “2” print(a+b) What will be the output of this program? a) 5 b) 6 c) 23 d)0 32

Answers

Answered by shrawan85356
1

Answer:

What will be the output of the following arithmetic expression ? 5+3*2%10-8*6 a) -37 b) -42 c) -32 d) -28 Ans: a 2. What will be the output ... 

Answered by sureeshravi
0

Answer:

The output of the program will be 5. Therefore, the correct option is a) 5.

Explanation:

The computer takes the value of the variables a and b as 3 and 2 respectively and performs the addition function to give the result as 5.

Numerous operations like modulus, square, square-root, cube-root,  multiplication, division, subtraction, etc. can be performed using various operators and get the desired result. It helps an individual to perform calculations in a quick, easy, effective and precise manner, leaving no room for any discrepancy to creep in.

Here in the given question, the computer performs the addition operation with the values 3 and 2, giving the result as 5.

Thus, the correct option will be a) 5

Similar questions