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



main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }..

Answer / neha

66

Is This Answer Correct ?    26 Yes 2 No

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }..

Answer / priya

i want answer for this

Is This Answer Correct ?    17 Yes 3 No

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }..

Answer / shiva

can you explain neha how ans is 66

Is This Answer Correct ?    7 Yes 0 No

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }..

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

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }..

Answer / akshay

66

Is This Answer Correct ?    2 Yes 1 No

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }..

Answer / sathya

answer is 44

Is This Answer Correct ?    0 Yes 2 No

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }..

Answer / kaveri

Can you explain how ans is 33

Is This Answer Correct ?    1 Yes 4 No

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }..

Answer / mahesh

33

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More C Interview Questions

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.

1 Answers   TCS,


what is a headerfile?and what will be a program without it explain nan example?

6 Answers   Assurgent,


What is the memory allocated by the following definition ? int (*x)[10];

4 Answers   ADITI, Wipro,


main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }

2 Answers  


Write code for atoi(x) where x is hexadecimal string.

5 Answers   Adobe,






How do you define CONSTANT in C?

0 Answers   ADP,


errors in computer programmes are called

1 Answers   NET,


Tell me what is the purpose of 'register' keyword in c language?

0 Answers  


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

9 Answers   Oracle,


What is string in c language?

0 Answers  


Why is structure padding done in c?

0 Answers  


Categories