09.10.2014 Views

download pascal tutorial (pdf - Tutorials Point

download pascal tutorial (pdf - Tutorials Point

download pascal tutorial (pdf - Tutorials Point

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

program ex<strong>Point</strong>ers;<br />

const MAX = 3;<br />

var<br />

arr: array [1..MAX] of integer = (10, 100, 200);<br />

i: integer;<br />

iptr: ^integer;<br />

y: ^word;<br />

begin<br />

i:=1;<br />

(* let us have array address in pointer *)<br />

iptr := @arr[1];<br />

while (iptr

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!