What would be the equivalent pointer expression for referring the array element

Home | Discussion Forum
Taiyari24Hour

What would be the equivalent pointer expression for referring the array element a[i][j][k][l]



View More Related Question

2) If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?

3) Comment on the following pointer declaration.

 int *ptr, p;

4) What will be the output of the following C code?

 #include <stdio.h>
int main()
{
int *ptr, a = 10;
ptr = &a;
*ptr += 1;
printf("%d,%d/n", *ptr, a);
}

5) What will be the output of the following C code?

 #include <stdio.h>
int x = 0;
void main()
{
int *ptr = &x;
printf("%p\n", ptr);
x++;
printf("%p\n ", ptr);
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.