Huawei Company Category

What is the correct sequence

try,catch,finally
try1,catch1,catch2,try2,finally
try1,catch1,try2,catch2,finally

Read Solution (Total 4)

Huawei Other Question

There are two pair of gloves in a draw one is green and other is blue.what is the probability that a glove picked with out seeing from the draw is wrong one. 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