main()
{
int x, arr[8]={11,22,33,44,55,66,77,88};
x=(arr+2)[3];
printf(“%d”,x);
}
Answer Posted / vishnu
66 is the answer
explanation
name of array contains the base address of the array ,by adding 2 to base address we are changing its initial position by 2,so now arr[0] is 33 , thus a[3] is 66.
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What are the 5 types of organizational structures?
What is the concatenation operator?
how can use subset in c program and give more example
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
praagnovation
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Why we use stdio h in c?
What are linker error?
Does c have enums?
What is the need of structure in c?
What is s or c?
What does the c preprocessor do?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What are file streams?
What are control structures? What are the different types?