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 / sandip talukder

answer is(B). coz b holds d adrs ofa[2].so b[0]is 6. thats
why b[-1] is 3.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is default value of global variable in c?

941


Why double pointer is used in c?

994


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5897


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

981


What is a constant and types of constants in c?

1075


What is printf () in c?

1018


How can you access memory located at a certain address?

1064


How will you delete a node in DLL?

1228


What is typedef?

1341


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1655


Is array a primitive data type in c?

1003


What does the && operator do in a program code?

1165


Explain what is dynamic data structure?

1120


I need previous papers of CSC.......plz help out by posting them.......

2251


What does volatile do?

943