单项选择题

下列程序的运行结果是: int main() {int a=0,b=0; a=10; b=20; printf("a+b=%d",a+b); return 0; }

A.a+b=10
B.a+b=30
C.30
D.出错