Huawei Company Programming Program

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

Read Solution (Total 7)

Huawei Other Question

What is the correct sequence

try,catch,finally
try1,catch1,catch2,try2,finally
try1,catch1,try2,catch2,finally
#include
#define mult(x,y) x*y
int main()
{
int a=5,b=5;
printf("%d",mult(a+b,a+b));
return 0;
}