Huawei Company Programming Basics

#include
int main()
{
int a,b;
if(a=1,b=0)
printf("Yes");
else
printf("No");
return 0;
}

Read Solution (Total 5)

Huawei Other Question

#include
#define mult(x,y) x*y
int main()
{
int a=5,b=5;
printf("%d",mult(a+b,a+b));
return 0;
}
If a rainy day occurs on every 10th day and each rainy day accounts for half rainbow then in 20 days what is the percentage of days when rainbow doesn't takes place.