CAT 2024 Last Batch 🧑🎓 Starts on Monday (22nd July). Enroll now
Edit MetaData
Consider the following code segment void foo(int x, int y) .{x+=y;y+=x;}main( ){int x=5.5;foo(x,x);}What is the final value of x in both call by value andcall by reference, respectively?
5 and 16
5 and 12
5 and 20
12and 20
Create a FREE account and get:
Login to your Cracku account.
Follow us on
Incase of any issue contact support@cracku.in
Boost your Prep!
Quick, Easy and Effective Revision
By proceeding you agree to create your account
Free CAT Formulae PDF will be sent to your email address soon !!!