The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
97 views

 

Can anyone explain how will the second parameter gets passed ?

asked in Programming by Active (3.1k points)
edited by | 97 views
0
a+b evaluated and stored in temporary register, then as per call by value j will get the value from that register
0

Thank you @Shaik Masthan

0
The answer is (b)? 211?
0

@Shaik Masthan

what is the answer ?? i am getting 2,1,2

0

why a is changed 1 to 2 again ?

note that, it's just a+i but not a=+i.

option B is correct answer !

0
Ok
0

yes 211 is correct answer https://ideone.com/KjE9mV

1 Answer

0 votes

i am getting 2,1,1

answered by Boss (33.6k points)
edited by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,412 questions
53,594 answers
185,833 comments
70,878 users