info@avatto.com
+91-9920808017
11. The function is lower(char) checks whether a character is in lower case or not, therefore it should return
0 or 1
-1, 0 or 1
a character
nothing
You must be logged in to post a comment.
12. If max is a function that returns the larger of the two integers, given as arguments, then which of the following statements finds the largest of three given numbers
max(max(a,b),max (a,c))
max(max(a,b),max (b,c))
max(b,max (a,c))
All of these
13. A function can make
One throw
One throw of each scale type
One throw of each programmer defined type
As many throws of as many types as necessary
14. Consider the function find ( int x, int y) { return (( x < y ) ? 0 : ( x - y )); } Let a, b be two non-negative integers. The call find{ a, find(a, b)} can be used to find the
maximum of a, b
positive difference of a, b
sum of a, b
minimum of a, b
15. Let a, b be two non-negative integers. Which of the following calls, finds the positive difference of a and b ?
find(a, b) + find (b, a)
find (a, find(a, b))
a + find (a, b)
b + find(a, b)
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
You must be logged in to post a comment.