+ 1
What is line 13 ( f(a,b) ) for ??
6 Réponses
+ 1
It means you are calling the function f(char char1, char char2) from main().
Edit: Inside main you need not pass the argument type so you need not specify whether it is char or int while passing. That is why a,b is passed and are accepted by the function.
But your function definition should have the same type of arguments you have passed inside main().
+ 1
Thanks dude..
And f(a,b) is calling by reference or value ??
+ 1
It is calling by value because a and b hold a value.
If you say f(&a, &b) then it is calling by reference since you are passing the address of a and b and not the actual value.
+ 1
Thank you so much🙏
+ 1
You're welcome M.Gavili
0
And would you please tell me ..
tell me how I can omit one in between numbers in a function ??
Sth like this ..
7423 → 72