โ† Teradata questions
Reported in a candidate post, Jul 2016

Predict output of a static-buffer strcpy program

Filed under Teradata

The question

Predict the output of a C program where a function returns a static char array, a string is copied into it, the pointer is reassigned and a second string is copied over it before printing.

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

Related Teradata questions

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