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

What is the difference between printf and scanf )?

0 Answers  


what are bps & baud rates? differentiate these two?

2 Answers   TCS,


What is a memory leak in structures? How can we rectify that?

2 Answers  


Is it fine to write void main () or main () in c?

0 Answers  


Explain what is the heap?

0 Answers  


Why isnt there a numbered, multi-level break statement to break out

0 Answers  


What is structure padding & expalain wid example what is bit wise structure?

1 Answers  


How to calculate sum

2 Answers  


Write a C program that reads a series of strings and prints only those ending in "ed"

2 Answers   Accenture,


what does " calloc" do?

7 Answers   Cadence, Logos,


where do we use structure pointer?

1 Answers  


why in C,C++'s int size is 2 byte and .net(c#) int Size is 4 byte?

2 Answers  


Categories