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

 

Can anyone explain how will the second parameter gets passed ?

asked in Programming by Active (1.9k points)
edited ago by | 81 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 ago by Boss (28.8k points)
edited ago 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
48,411 questions
52,746 answers
183,341 comments
68,213 users