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

main()
{
int ptr[] = {1,2,23,6,5,6};
printf("%d",&ptr[3]-&ptr[0]);
}

Answer Posted / sandeep

3
because aray pointer arthematic considers positions(index) of aray

Is This Answer Correct ?    46 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we add pointers together?

1000


What is the total generic pointer type?

1109


What is an identifier?

979


Explain how can you tell whether a program was compiled using c versus c++?

1054


Who invented bcpl language?

1118


Is it better to use a macro or a function?

1099


Can an array be an Ivalue?

1055


a c code by using memory allocation for add ,multiply of sprase matrixes

2744


Is r written in c?

1110


What is structure padding in c?

1058


Explain what are compound statements?

994


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2136


What is the best way to comment out a section of code that contains comments?

1263


What is a substring in c?

998


Where we use clrscr in c?

1090