Programming in C - Pointers

26. Consider the declaration
int a = 5, *b = &a;
The statement
printf("%d", a * b);
prints

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 *


27. Consider the following segment
char *a, *b, c[10], d[10];
a = b;
b = c;
c = d;
d = a;
choose the statements having errors

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 *


28. calloc(m, n); is equivalent to

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 *


29. If p is a pointer to an integer and t is a pointer to a character then sizeof (p) 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 *


30. Which of the following comments about arrays and pointers is/are not true?

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 *