形参或局部变量的作用域仅在本函数内有效。
int main() {
int i = 3;
printf("%d", i);
}
// error: 'i' undeclared (first use in this function)
int error()
形参或局部变量的作用域仅在本函数内有效。
int main() {
int i = 3;
printf("%d", i);
}
// error: 'i' undeclared (first use in this function)
int error()