GATE CSE 2014 SET 2 Q || C PROGRAMMING ||Data Structure || GATE Insights Version: CSE

Опубликовано: 28 Сентябрь 2024
на канале: GATE Insights Version: CSE
466
15

Planning to take coaching on https://unacademy.com/
here is a code for 10% off PLUS1BPK1

Downloads resources from here
https://education4fun.com/gate-cse/

MCQ (Single Correct Answer)
GATE CSE 2014 Set 2
Suppose n and p are unsigned int variables in a C program. We wish to set p to nC3nC3. If n is large, which one of the following statements is most likely to set p correctly?
A) p=n∗(n−1)∗(n−2)/6
B) p=n∗(n−1)/2∗(n−2)/3
C) p=n∗(n−1)/3∗(n−2)/2
D) p=n∗(n−1)∗(n−2)/6.