info@avatto.com
+91-9920808017
0. Consider the following C-program fragment in which i, j, and n are integer variables. for(i = n, j = 0; i > 0; i/ = 2, j + = i); Let val (j) = denote the value stored in the variable j after termination of the for loop. Which one of the following is true?
val(j) = Θ(logn)
val(j) = Θ(√n)
val(j) = Θ(n)
val(j) = Θ(nlogn)
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login