C (32bit only)
int main(int a, char *b) {
scanf("%d\n%d", &a, &b);
printf("%d\n", a[b]);
}
Pointer arithmetic is just as good.
C (32bit only)
int main(int a, char *b) {
scanf("%d\n%d", &a, &b);
printf("%d\n", a[b]);
}
Pointer arithmetic is just as good.