




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





ALIAS rec1 = RECORD ptr : POINTER TO FLOAT; END;
ALIAS rec2 = RECORD ptr : POINTER TO rec1; END;
VAR ptr : POINTER TO rec2; VAR a, b : FLOAT;
VAR c : rec2;
short a[3][5];
a[1][1] a:
low memory high memory
#include <stdio.h>
int main() { char a[] = "Me? I want to go"; char b[] = "to Porter's Pub"; char c[] = "and don't you, too?"; char *ptr = b;
printf( "%c\n", *(ptr = ptr + 3) ); _______
printf( "%c\n", toupper( *c + 1 ) ); _______
printf( "%c\n", b[strlen(a) - 2] ); _______
printf( "%c\n", *(a + 7) ); _______
printf( "%c\n", ptr[5] ); _______
printf( "%c\n", ptr[5] + 1 ); _______ return 0; }