info@avatto.com
+91-9920808017
16. A pointer variable can be
passed to a function as argument
changed within a function
returned by a function
can be assigned an integer value
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. Which of the following operators can be applied to pointer variable(s)?
Division
Multiplication
Casting
None of these
18. Consider the following program. main() { char x[10], *ptr = x; scanf("%s", x); change(&x[4]); } change ( char a[ ] ) { puts(a); } If abcdefg is the input, the output will be
abcd
abc
efg
garbage
19. Pick the correct answers. If x is an one-dimensional array, then
&x [i] is same as x + i - 1
* (x + i) is same as * (&x [i])
* (x + i) is same as x[i]
both (B) & (C)
20. Let x be an array. Which of the following cannot be present in the left hand side of an assignment statement?
x
&x[i]
x + i
All of these
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