Computer Science, asked by swati0325, 5 hours ago

Pls Solve fast...
Class IX..Methods and Function​

Attachments:

Answers

Answered by StudiousBookworm
0

Answer:

19. ---Output---

m + n =1030

x =40

Explanation:

I have written the exact output which will be displayed.

1. Why is m + n =1030?

Because + is left to right associative and tha addition is not doen within () these brackets thus the software will take it as string variable and add it through string concatenation. There is also no space after = symbol so the output will also not show any space.

2. Why is x =40?

Although it was intialised with 20 but we have later changed its value to m + n.

Similar questions