Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.

2 Answers   Scientific Atlanta, Wipro,


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

0 Answers  


write a C code to reverse a string using a recursive function, without swapping or using an extra memory.

9 Answers   Motorola, TCS, Wipro,


how to use enum datatype?Please explain me?

3 Answers   Excel,


While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.

2 Answers  


what is a constant pointer in C

0 Answers  


1 232 34543 4567654 can anyone tell me how to slove this c question

6 Answers  


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

0 Answers  


Is it possible to use curly brackets ({}) to enclose single line code in c program?

0 Answers  


. Explain the differences between fork() and exec() in C

2 Answers  


Why is it usually a bad idea to use gets()? Suggest a workaround.

1 Answers  


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

0 Answers  


Categories