C语言中这个程序怎么是输出####

#include "stdio.h"
main()
{
int a=10,b=20,c=30;
if(a=b+c)
printf("####\n");
else
printf("$$$$\n");}
晕,你是要判瞎伏隐断a等不等于磨厅b+c吧,应该写成if (a==(b+c))
你现厅掘在是把b+c的和赋值给a然后判断a是否大于0,20+30=50当然大于0了