sending variables to procedures in c and pascal
for sending variables to procedures what we should do in c and(or) pascal?
as i searched this work has to be done by BP( base pointer)
or rather i should say that BP do it,and one more thing is that C and Pascal are opposite of each other.

A begin/end pair in Pascal defines a compound statement. Pascal does not support blocks. New declarations can only be made in the declaration section of the main program or in the declaration sections of procedures and functions, so storage can only be shared between disjoint procedures.

   procedure name ( formals );
      declarations
   begin
      statements
   end;


sending variables to procedures in c and pascal
===

for sending variables to procedures what we should do in c and(or) pascal?
as i searched this work has to be done by BP( base pointer)
or rather i should say that BP do it,and one more thing is that C and Pascal are opposite of each other.

A begin/end pair in Pascal defines a compound statement. Pascal does not support blocks. New declarations can only be made in the declaration section of the main program or in the declaration sections of procedures and functions, so storage can only be shared between disjoint procedures.

   procedure name ( formals );
      declarations
   begin
      statements
   end;

