![]() |
VOOZH | about |
Question 1
Question 2
Question 3
Question 4
Predict the output of following C program
Compiler Error
12
10
Empty
Question 5
Question 6
Question 7
Question 8
Question 9
Question 10
Suppose n and p are unsigned int variables in a C program. We wish to set p to nC3. If n is large, which of the following statements is most likely to set p correctly?
p = n * (n-1) * (n-2) / 6;
p = n * (n-1) / 2 * (n-2) / 3;
p = n * (n-1) / 3 * (n-2) / 2;
p = n * (n-1) * (n-2) / 6.0;
There are 14 questions to complete.