If arr is declared as an int array of 10 elements, the statement scanf(“%d”, arr); (A) fails on
compilation, (B) fails at runtime, (C) works perfectly, (D) produces implementation-dependent
behavior.
The maximum number of iterations needed to conduct a binary search on a sorted array of
1000 elements is (A) 999, (B) 256, (C) 32, (D) 10.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here