we hav e
two ki ds of para me ters
global- ba d
local with the rec eiving by the same t ype goo d
the subrut ine
ex
pascal intger a( int pa ran te r )
the sub r iuti ne gets the parameter of the integer calling fom the main pro gram/subroutine
ex
int c ount 9 int a)
...
a (value )
a( 5)
the subroutine
i n t c ount (int a)
remark re turn theval ue of in t
int a get pa ram e te r of a
begin
in t val ue = in t a
re turn(count )
check the types of send/returni n windows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment