C - Variables and Data Types
What will be the output of this C program?
int x = 1;
void test() {
x = 5;
int x = 10;
printf("%d ", x);
}
int main() {
test();
printf("%d", x);
return 0;
}