how argument | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how argument

how argument passed its parameters???

23rd Jul 2018, 8:42 AM
paul
5 Answers
+ 4
paul maby that was a bad example 😜 basicly when you create a function with parameters that means you want to send somthing to it. so when you call that function from main and put arguments inside the parenthisis myFunction(int i,int j,string k); the arguments are passed to the function it does (somthing) and then returns the result back to the calling method.
23rd Jul 2018, 10:06 AM
D_Stark
D_Stark - avatar
+ 3
think of them like ovens you put a cake mixture in (arguments) 📤and it transforms it and returns a cake 🎂
23rd Jul 2018, 10:00 AM
D_Stark
D_Stark - avatar
0
what do you mean
23rd Jul 2018, 9:57 AM
darkorbit17493
0
oh now i understand the question
23rd Jul 2018, 10:14 AM
darkorbit17493
0
cuz my english is bad
23rd Jul 2018, 10:14 AM
darkorbit17493