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...

. 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

Answer Posted / sujay

I think the answer is none
bcoz b is a pointer var so, it points to an ad location
the answer is not any of the given options

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a constant and types of constants in c?

1084


Can a local variable be volatile in c?

964


Explain what is gets() function?

1031


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1031


How are pointers declared in c?

1019


What is the use of getchar functions?

1152


What is use of #include in c?

1117


i have a written test for microland please give me test pattern

2687


What is #line in c?

975


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1788


What does %p mean c?

1027


Explain what is the most efficient way to store flag values?

1188


Explain the difference between malloc() and calloc() in c?

1018


What is c value paradox explain?

1045


What are the modifiers available in c programming language?

1186