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

simple c program for 12345 convert 54321 with out using string

7 Answers   TCS,


What are static variables in c?

0 Answers  


How can you check to see whether a symbol is defined?

0 Answers  


How can I find the day of the week given the date?

0 Answers  


Define Array of pointers.

0 Answers  


What is the difference between declaring a variable by constant keyword and #define ing that variable?

1 Answers  


write a program to display the array elements in reverse order in c language

16 Answers  


Explain what are the advantages and disadvantages of a heap?

0 Answers  


C program to read the integer and calculate sum and average using single dimensional array

0 Answers  


what is the syallabus of computer science students in group- 1?

0 Answers  


How arrays can be passed to a user defined function

0 Answers  


What are the different properties of variable number of arguments?

0 Answers  


Categories