Skip to content

变量声明定义的一个误区

c
#include <stdio.h>
int main(){
  int x,y,z=0;  // 不等于x=0,y=0,z=0, 这段代码只是对z进行了赋值
  printf("%d",x);
  return 0;
}