main()
{
int x, arr[8]={11,22,33,44,55,66,77,88};
x=(arr+2)[3];
printf(“%d”,x);
}
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the difference between printf and scanf )?
what are bps & baud rates? differentiate these two?
What is a memory leak in structures? How can we rectify that?
Is it fine to write void main () or main () in c?
Explain what is the heap?
Why isnt there a numbered, multi-level break statement to break out
What is structure padding & expalain wid example what is bit wise structure?
How to calculate sum
Write a C program that reads a series of strings and prints only those ending in "ed"
what does " calloc" do?
where do we use structure pointer?
why in C,C++'s int size is 2 byte and .net(c#) int Size is 4 byte?