473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

procedure\functions

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
Apr 14 '07 #1
1 1108
JosAH
11,448 Expert 8TB
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
Apr 14 '07 #2

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.