Math, asked by premkhanderao2092, 10 months ago

Given two generic variables, a with value 123 and b with value 456, what would the write line output of a + b be?579123456an exception will be thrown.123 + 456

Answers

Answered by rishika79
0

Answer:

Step-by-step explanation:

The output of A + B will be 123456.

Since we use the write line command, we do not mathematically add up the two generic variables. Instead we concatenate both variables, A and B. Here, we merely attach the value of B, to the end of the value of A.

Hence A + B = 123456.

Hope it helps you...

Similar questions