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 an expression?

1108


What are data structures in c and how to use them?

1222


What is union in c?

1166


How many levels of pointers have?

1099


What are the disadvantages of a shell structure?

1422


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1268


Why main is not a keyword in c?

1322


What language is c written?

1100


What are preprocessor directives in c?

1156


What is #ifdef ? What is its application?

1165


Differentiate between ordinary variable and pointer in c.

1252


Explain how can you check to see whether a symbol is defined?

1252


What are the types of pointers in c?

1080


What is the difference between declaring a variable and defining a variable?

1347


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2462