Whats is the difference between | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Whats is the difference between

parameters and arguments in a function

21st May 2017, 5:08 PM
MUʜAMMED ɪʟʟYAS
MUʜAMMED ɪʟʟYAS - avatar
2 Answers
+ 10
Arguments are present in function call Parameters are present in function definition void a (int x) {} int main { a (4)} //4 is argument, x is parameter
21st May 2017, 5:14 PM
Pixie
Pixie - avatar
+ 5
thnxx....u said it well
22nd May 2017, 3:28 AM
MUʜAMMED ɪʟʟYAS
MUʜAMMED ɪʟʟYAS - avatar