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

What is the difference between array and linked list in c?

1165


How can you draw circles in C?

1158


Who is the founder of c language?

1173


Can you explain the four storage classes in C?

1130


What is the difference between if else and switchstatement

1942


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1947


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

1372


Using which language Test cases are added in .ptu file of RTRT unit testing???

4292


Why does this code crash?

1105


Is c is a high level language?

1200


Differentiate Source Codes from Object Codes

1594


What is return in c programming?

981


What is modifier & how many types of modifiers available in c?

1032


the question is that what you have been doing all these periods (one year gap)

2095


Difference between exit() and _exit() function?

1146