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

#include<stdio.h>
int main(){
int a[]={1,2,3,5,1};
int *ptr=a+4;
int y=ptr-a;
printf("%d",y);
}

Answer Posted / anunithi

4

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we change the value of static variable in c?

1006


Explain what is the difference between functions getch() and getche()?

1038


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2308


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16735


What is the purpose of type declarations?

1105


Ow can I insert or delete a line (or record) in the middle of a file?

986


What is c++ used for today?

1098


What are nested functions in c?

1002


Explain how can I read and write comma-delimited text?

1154


How can I dynamically allocate arrays?

1078


What's a good way to check for "close enough" floating-point equality?

1146


how to count no of words,characters,lines in a paragraph.

4414


Explain how do you determine the length of a string value that was stored in a variable?

1144


Write a program to reverse a linked list in c.

1106


write a proram to reverse the string using switch case?

2920