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 / gagan

answer is 3
bcz b[0]=6 so b[-1]=3

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a header file whether functions are declared or defined?

1096


What is the deal on sprintf_s return value?

1085


What is the use of a static variable in c?

1028


When should we use pointers in a c program?

1101


What is an operator?

1044


What is extern variable in c with example?

973


Write a program to print "hello world" without using a semicolon?

1030


What is ambagious result in C? explain with an example.

2572


What happens if you free a pointer twice?

1041


what is event driven software and what is procedural driven software?

2523


Explain the red-black trees?

1090


What is the importance of c in your views?

1128


Is a house a shell structure?

1127


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1090


write a progrmm in c language take user interface generate table using for loop?

2012