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 / sridhar

1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The statement, int(*x[]) () what does in indicate?

1149


write a program to display all prime numbers

1972


List out few of the applications that make use of Multilinked Structures?

2197


How do we declare variables in c?

1070


How can I do graphics in c?

1035


How to find a missed value, if you want to store 100 values in a 99 sized array?

1414


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2137


How do you determine a file’s attributes?

1087


All technical questions

1990


Why is #define used?

1275


How to create struct variables?

1111


What do you mean by a local block?

1087


Write a program to reverse a linked list in c.

1132


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

1020


What is the purpose of the statement: strcat (S2, S1)?

1171