Maison  >  Questions et réponses  >  le corps du texte

变量的内存分配

#include <stdio.h>int main(){    static int a = 0;    int b = 0;    return 0;
}

如在例子中的变量内存,请问是在编译时分配的还是在运行时分配的?


巴扎黑巴扎黑2874 Il y a quelques jours721

répondre à tous(1)je répondrai

  • 面对疾风吧

    面对疾风吧2016-11-08 14:50:55

    运行呀。。编译是编译成二进制文件而已。。

    répondre
    0
  • Annulerrépondre