int func(int num) { int count = 0; while(num) { count++; num >>= 1; } return(count) ; }For func(435) the value returned is | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

int func(int num) { int count = 0; while(num) { count++; num >>= 1; } return(count) ; }For func(435) the value returned is

Please solve and answer earliest possible

27th Mar 2020, 5:11 AM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
3 Answers
+ 10
Jay Matthews need explaination. I couldnt get it how
27th Mar 2020, 6:08 AM
Amisha Purswani
Amisha Purswani - avatar
+ 3
Jay Matthews Where is answer ???
27th Mar 2020, 5:53 AM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
0
3
2nd Dec 2021, 8:53 AM
Suri Suri