← Mastercard questions

C Language Output Prediction and Concepts

Filed under Mastercard

The question

Predict output of C code snippets involving static variables and string pointers, and explain differences between malloc and calloc, call by value and call by reference.

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

Related Mastercard questions

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