info@avatto.com
+91-9920808017
16. The default parameter passing mechanism is
call by value
call by reference
call by value result
none of above
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
17. Use of functions
helps to avoid repeating a set of statements many times
enhances the logical clarity of the program
helps to avoid repeated programming across programs
all of the above
18. Pick the correct statements
The body of a function should have only one return statement
The body of a function may have many return statements
A function can return only one value to the calling environment
Both (B) & (C)
19. max is a function that returns the larger of the two integers, given as arguments. Which of the following statements finds the largest of three given numbers?
max (max (a, b), max (a, c))
max(b, max(a, c))
max (max (a, b). max ( b, c ))
All of the above
20. Forward declaration is absolutely necessary
if a function returns a non-integer quantity
if the function call precedes its definition
if the function call precedes its definition and the function returns a non-integer quantity
none of the above
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