I wanted to print garbage value with an uninitialized variable. But when I tried to build the code on visual studio, it gives me a window and on the window there isn't option to ignore and execute. How can I execute this code?
#include <stdio.h>
void scopes();
void localvar();
int main(void) {
localvar();
return 0;
}
void localvar() {
int m;
int n = 10;
printf("%d %d\n", m, n);
for (m = 0; m < 3; m++) {
auto int sum = 0;
sum = m;
printf("%d %d\n", m, sum);
}
return;
}