pointer in C does not printf - segmentation fault

前端 未结 0 775
悲&欢浪女
悲&欢浪女 2020-12-01 04:42
#include 

int main()
{
    int x; int* y;
    x=5;
    scanf("%d", y);
    printf("%d, y=%d", x, (*y));
    
    return 0;
}


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题