tbs0146.pp 257 B

1234567891011121314
  1. procedure myfunction(var t : array of char);
  2. begin
  3. writeln(sizeof(t)); { should be 51 }
  4. if sizeof(t)<>51 then halt(1);
  5. end;
  6. var
  7. mycharstring : array[0..50] of char;
  8. begin
  9. myfunction(mycharstring);
  10. if sizeof(mycharstring)<>51 then halt(1);
  11. end.