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 I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1056


Is it fine to write void main () or main () in c?

1076


What is difference between scanf and gets?

1371


Compare array data type to pointer data type

1084


What is pragma in c?

1281


what is the different bitween abap and abap-hr?

2422


C language questions for civil engineering

1766


What is && in c programming?

1225


Is c procedural or functional?

1096


FILE PROGRAMMING

2296


can any one provide me the notes of data structure for ignou cs-62 paper

2231


What is integer constants?

1131


Write a program to generate the Fibinocci Series

1300


What is the use of pointers in C?

1133


What does volatile do?

1038