info@avatto.com
+91-9920808017
21. The parameter passing mechanism for an array is
call by value
call by value-result
call by reference
none of these
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
22. Consider the statement int val[2] [4] = { 1, 2, 3, 4, 5, 6, 7, 8} ; 4 will be the value of
val[0][3]
val[0][4]
val[1][1]
none of the above
23. The maximum number of dimension an array can have in C is
3
4
5
compiler dependent
24. Under which of the following conditions, the size of an one-dimensional array need not be specified?
when initialization is a part of definition
when it is a declaration
when it is a formal parameter and an actual argument
All of the above
25. If a two-dimensional array is used as a formal parameter, then
both the subscripts may be left empty
the first (row) subscript may be left empty
the first subscript must be left empty
both the subscripts must be left empty
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