closed by
258 views
0 votes
0 votes
closed as a duplicate of: GATE CSE 2014 Set 2 | Question: 10
int func(int num) {
int count = 0;
while(num) {
count++;
num >>= 1;
}
return(count) ;
}

ques:if func(435) what will be the result?

closed by

Related questions

2 votes
2 votes
3 answers
2
Sarvottam Patel asked Jan 13, 2017
1,765 views
In Go–back 3 flow control protocol every 6th packet is lost. If we have to send 11 packets. How many transmissions will be needed ?(A) 10(B) 17(C) 12(D) 9
1 votes
1 votes
0 answers
3
Ashish Roy 1 asked Mar 16, 2019
1,683 views
In the above 4 Statements which would print 123 as output ? Explain also.
0 votes
0 votes
0 answers
4
Gatetarget_100 asked Aug 3, 2018
548 views
int main() { int a[10]; printf("%d",*a+1-*a+3); return 0; }Answer is given as 4 but i think it should be 8, if int is of 4 byte. Correct me if i am wrong