0

How to pass argument into user defined function

31st Dec 2016, 9:10 PM
Imad Khan
Imad Khan - avatar
2 odpowiedzi
+ 2
Just insert all arguments in between the parentheses when calling the function, separated by a comma (' , ')
31st Dec 2016, 9:28 PM
Dao
Dao - avatar
+ 1
Func(arg1,arg2,...); You can call user defined function like above. There are two ways ! Call by value and call by reference. Above example is call by value Call by reference Func(&arg1,&arg2,..);
31st Dec 2016, 10:17 PM
Shiv Kumar
Shiv Kumar - avatar