โ† Bloomberg questions

Types and values of pointer and array expressions

Filed under Bloomberg

The question

Given a C++ snippet with a character array and a pointer, state the type and value of expressions such as abc, *abc, abc[2], &abc[3], abc+4 and &ptr.

No write-up yet. Related questions below have one.

Related Bloomberg questions

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