info@avatto.com
+91-9920808017
31. A set of names can be represented as a
two-dimensional array of characters
one-dimensional array of strings
one-dimensional array of pointers to character
All 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
32. If arr is a two dimensional array of 10 rows and 12 columns, then arr (5) logically points to the
sixth row
Fifth row
fifth column
sixth column
33. While sorting a set of names, representing the names as an array of pointers is preferable to representing the names as a two-dimensional array of characters because
storage needed will be proportional to the size of the data
execution will be faster
swapping process becomes easier and faster
All of the above
34. Choose the correct statements
an entire array can be passed as an argument to a function
a part of an array can be passed as argument to a function
any change done to an array that is passed as an argument to a function will be local to the function
Both (A) & (B)
35. Pick the correct answers if x is an one-dimensional array, then
&x[i] is same as x + i - 1
*(x + 1) is same as *(&x[i])
*(x + i) is same as x[i]
both (B) & (C)
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