procedure\function----->set of executable ststements
procedure need not returns any value
function must returns a value
plzzzzz tell me any one syntax of procedure (not in sql),in languages only like c,c++,java
C and C++ only know about functions. A function can return a type 'void' which
means that nothing is returned. Java calls those functions 'methods' and the
same 'void' thing applies. void functions/methods can not be part of an expression
because they don't return a value (sic).
kind regards,
Jos