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

Here is a neat trick for checking whether two strings are equal

1021


Hi can anyone tell what is a start up code?

2070


Function calling procedures? and their differences? Why should one go for Call by Reference?

1085


Why can arithmetic operations not be performed on void pointers?

1046


What is structure padding and packing in c?

1069


How can I swap two values without using a temporary?

1110


Without Computer networks, Computers will be half the use. Comment.

2300


What is string constants?

1149


What are variables and it what way is it different from constants?

1243


What is the difference between malloc calloc and realloc in c?

1147


How can I write functions that take a variable number of arguments?

1130


State the difference between realloc and free.

1073


What is the process to create increment and decrement stamen in c?

1061


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

1108


What’s the special use of UNIONS?

1152