



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















Memory for the variable y is allocated and deallocated every time the function test is called. So, it prints the same value for y. However, because x is a static variable, memory for x remains allocated as long as the program executes.