Dark Mode

7,603 views

29 votes

Best answer

0

0

1

1 vote

jumble function is just taking 2 arguments say arg1 and arg2. and returning **(2*arg1) + arg2**

in main function we have below:

y=jumble(5,2);---main called jumble function with arguments 5,2 initially and result was stored in variable **y **

**here y becomes 12 i.e: (2*10)+2**

**x remains same which is 2**

**x=**jumble(12, 2);----main again called jumble function with arguments 12,2 and stored in variable **x **

**so x becomes 26 i.e: (2*12)+2**

finally x will be printed

**output: 26**