GATEverse Practice, past papers & mock tests
GATE 2014 · session-2
Programming & Data StructuresProgrammingeasyNAT1 mark
Consider the function func shown below:
c
int func(int num) {
    int count = 0;
    while (num) {
        count++;
        num >>= 1;
    }
    return (count);
}
The value returned by func(435) is __________.
Save your progress

Related Programming & Data Structures PYQs