+ 2
what is deference between procédure & function
سلام عليكم ماهو الفرق بين الوضيفة و الاجراء
3 Answers
+ 4
Functions return values. Procedures only execute commands.
+ 1
Actually these are different names for the same thing. They are just blocks of code that perform some repetitive tasks for you. And no, function is not obliged to return something. In your programming routine you will write hundreds of functions that do not return anything but instead just change the state of your code/data in different ways
- 1
procedure n function both are same but mail difference is procedure may or may not return value but function should return value.