Huawei Company Programming Technical

#include
#define mult(x,y) x*y
int main()
{
int a=5,b=5;
printf("%d",mult(a+b,a+b));
return 0;
}

Read Solution (Total 7)

Huawei Other Question

Point out the compile time error in the program given below.
int main()
int *x;
1;
return 0;
A. Error: invalid assignment for x
B. Error: suspicious pointer conversion
C. No error
D. None of above
#include
int main()
{
int a,b;
if(a=1,b=0)
printf("Yes");
else
printf("No");
return 0;
}