GATE Computer Science (CS) 2013 Solved Paper
© examsiri.com
Question : 41 of 65
Marks:
+1,
-0
Consider the following function:
The return value of the function is
int unknown(int n) {
int i, j, k=0;
for (i = n/2; i <= n; i++)
for (j = 2; j <= n; j = j*2)
k = k + n/2;
return (k);
}The return value of the function is
Go to Question: