#include <stdio.h>
int globalVar = 5; // Global variable
void display() {
int localVar = 10; // Local variable
printf("Global variable: %d\n", globalVar);
printf("Local variable: %d\n", localVar);
}
int main() {
display();
globalVar = 15; // Modify global variable
printf("Modified global variable in main: %d\n", globalVar);
return 0;
}