Dev C 不断返回错误的值

Dev C keeps returning a wrong value

#include <stdio.h> 
#include <stdlib.h> 
main() 
{
    int n; 
    printf("Introduce un número entero\n"); 

    scanf("%d", &n); 
    printf("Has introducido el número: %d", &n); 
} 

每次我 运行 这个 C 代码我得到 n 的 6487628,我一遍又一遍地卸载和安装它,它一直这样做,我不知道还能做什么。

您不需要 printf() 中的 &n,您需要 n。你显示的内存位置 n 存储在