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 |
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
Explain what is the difference between a string and an array?
Explain how do you use a pointer to a function?
How can I read in an object file and jump to locations in it?
what is const volatile?
Is the exit() function same as the return statement? Explain.
0 Answers Agilent, ZS Associates,
How can I write a function analogous to scanf?
what is use of malloc and calloc?
What is the difference between array and linked list in c?
What are run-time errors?
How do you initialize function pointers? Give an example?
Explain what is operator promotion?