← Adobe questions
Reported in a candidate post, Jul 2025

Output of array indexing and pointer arithmetic expressions

Filed under Adobe

Predict the output of expressions on an array: a[0], 1[a], *(a+2), *(3+a), *a+4, a[-1] and a[6]. The array contents were not reported, so this assumes int a[5] = {10, 20, 30, 40, 50}.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Adobe questions

Collected from public candidate posts and coding forums. Updated Nov 2026.