+ 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