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

How can you determine the size of an allocated portion of memory?

1299


What is the function of this pointer?

1334


What is putchar() function?

1153


How to write a code for reverse of string without using string functions?

2145


Why calloc is better than malloc?

1035


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

1045


Explain the array representation of a binary tree in C.

1230


What are directives in c?

974


Calculate 1*2*3*____*n using recursive function??

2036


What is the use of sizeof () in c?

1048


Are the variables argc and argv are always local to main?

1020


diff between exptected result and requirement?

2054


What is the meaning of && in c?

1015


What is header file definition?

1082


What are the types of data types and explain?

1088