a+b是一个表达式,你前面有两个%d,需要两个参数,少一个参数
建议参考:https://blog.csdn.net/weixin_34526937/article/details/117079311
printf("%d+%d\n",a,b);