391 views
0 votes
0 votes
 for( i = n, j = 0; i > 0; i /= 2, j +=i )

Why There is no condition check for j here

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
iarnav asked Jul 30, 2018
389 views
for every j != i in {0,....,n-1} is it like for j=0 to n-1; j !=i ; ++j
2 votes
2 votes
3 answers
3
Laahithyaa VS asked Sep 9, 2023
934 views
. What will be the value returned by the following function, when it is called with 11?recur (int num){if ((num / 2)! = 0 ) return (recur (num/2) *10+num%2);else return 1...
0 votes
0 votes
3 answers
4
sumit kumar asked Nov 10, 2014
901 views
try to print this in one loop itself.i have already done this in two loops(one nested into another).so please try to do in one loop itself.12 43 6 94 8 12 165 ...