C Language MCQ - English
What would be the equivalent pointer expression for referring the array element
Home | Discussion ForumWhat would be the equivalent pointer expression for referring the array element a[i][j][k][l]
Answer : B
Feel free to find and hire your online essay writer to help you with papers. AdvancedWriters will not let you down.
View More Related Question
1) What will be the output of the following C code? #include <stdio.h>
int x = 0;
void main()
{
int *const ptr = &x;
printf("%p\n", ptr);
ptr++;
printf("%p\n ", ptr);
}
2) What will be the output of the program If the integer is 4bytes long? #include<stdio.h>
int main()
{
int ***r, **q, *p, i=8;
p = &i;
q = &p;
r = &q;
printf("%d, %d, %d\n", *p, **q, ***r);
return 0;
}
3) What is (void*)0?
4) 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?
5) What will be the output of the following C code? #include <stdio.h>
int main()
{
int i = 10;
void *p = &i;
printf("%f\n", *(float*)p);
return 0;
}