Jump to content

Address of a variable: Difference between revisions

m (→‎{{header|Ada}}: added code highlighting)
Line 11:
Set the address of a variable to address A100 in hexadecimal
<ada>I : Integer;
for I'Address use 16#A100#;</ada>
Set the address of one variable to the address of another variable, creating an overlay.
<ada>I : Integer;
J : Integer;
For I'Address use J'Address;</ada>
 
=={{header|C sharp|C #}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.