Question

XCORE Question 1 Consider the following program void Elint x, int y Y = y + 1 cout<<x<<*«y << endl; void nain) 1 int i, a13)
void main() int i, alili all) = 15; a12) = 20; a[3) = 25; fii, alilli cout <i«« all) << « a[2] << << a[3] << endl;
0 0
Add a comment Improve this question Transcribed image text
Answer #1

6 parameters are The memory passed by reference, address of the stored data is passed. Changes to the value have an effect on© parameters ale passed by rame Call by name is similar to call by reference. If differs from call by reference in that the pfli, ali]); || f (1,8(43) » X=1t 1 > y=15+1 flali), i); 11 f(a[], 2) s X=2041 > y=2+1 .. - 3 a[+]= 16 a[»]=84 aß1-25 There is

Add a comment
Know the answer?
Add Answer to:
XCORE Question 1 Consider the following program void Elint x, int y Y = y +...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT