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);
}

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you pass an array to a function by value?

1125


Can we declare variable anywhere in c?

978


What is string constants?

1149


How are variables declared in c?

1103


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

3179


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

1104


What is sizeof array?

1060


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1071


Can the curly brackets { } be used to enclose a single line of code?

1173


Is calloc better than malloc?

1021


Are pointers really faster than arrays?

1029


What is the scope of an external variable in c?

1050


What are different types of pointers?

1073


What is a protocol in c?

1009


Tell me what are bitwise shift operators?

1132