DEV C十十遇到的问题求解决

DEⅤC语言编程n=多少要写在公式前吗,写在后面为什么运行结果是0?

//例子1:
int n = 10; //给a赋值,让a等于10
//例子2:
int a = 1;
int b = 2;
int n = a+b; //n等于a和b的和

写在前面