Programming in C - Pointers

16. A pointer variable can be

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


17. Which of the following operators can be applied to pointer variable(s)?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


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

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


19. Pick the correct answers.
If x is an one-dimensional array, then

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


20. Let x be an array. Which of the following cannot be present in the left hand side of an assignment statement?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *