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 |
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
what is a headerfile?and what will be a program without it explain nan example?
What is the memory allocated by the following definition ? int (*x)[10];
main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }
Write code for atoi(x) where x is hexadecimal string.
How do you define CONSTANT in C?
errors in computer programmes are called
Tell me what is the purpose of 'register' keyword in c language?
WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?
28 Answers 3D PLM, Code Studio, Deltech, IBM,
. Consider the following program main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is (A) 1 (B) 3 (C) -6 (D) none
What is string in c language?
Why is structure padding done in c?