int readValue() { int stored = 7; int* value = &stored; return *value; } int main() { return readValue() == 7 ? 0 : 1; }