How x was transfered to a ? That confuses me. And they're different intergers :/ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How x was transfered to a ? That confuses me. And they're different intergers :/

4th Oct 2016, 10:13 PM
Rickky Gaming
Rickky Gaming - avatar
2 Answers
+ 2
Post the code here. We have no idea what you're talking about.
4th Oct 2016, 11:21 PM
Cohen Creber
Cohen Creber - avatar
+ 1
in addition to call a function we can also pass data. there are two ways by which you can pass the data..pass by value and reference...it is default that actual parameters get copied to formal parameters on one-to-one basis when a function is called..you can also use same variables for actual and formal parameters because scope of the variable is only within the block in which it is declared..hope it clarifies your doubt..
5th Oct 2016, 1:11 AM
Balaji Rs
Balaji Rs - avatar