GATE Computer Science (CS) 2014 Shift 2 Solved Paper

© examsiri.com
Question : 20 of 65
 
Marks: +1, -0
Consider the function func shown below:
int func(int num) {
int count = 0;
while (num) {
count++;
num >>= 1;
}
return (count);
}
The value returned by func(435)is __________.
  • Your Answer:
Go to Question: