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

What is getche() function?

1011


in linking some of os executables are linking name some of them

2096


What are the types of functions in c?

955


How can I ensure that integer arithmetic doesnt overflow?

1122


What was noalias and what ever happened to it?

1008


plz let me know how to become a telecom protocol tester. thank you.

2173


Tell us two differences between new () and malloc ()?

1150


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3049


What is a stream?

1102


Why c language is called c?

974


Can we access the array using a pointer in c language?

1021


Explain built-in function?

1112


Is it possible to initialize a variable at the time it was declared?

1200


What is output redirection?

1188


Is sizeof a keyword in c?

945