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

Explain can the sizeof operator be used to tell the size of an array passed to a function?

1117


What are the different types of linkage exist in c?

1074


Are there namespaces in c?

1190


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15890


What does == mean in texting?

1393


How can I read a binary data file properly?

1248


Does c have circular shift operators?

1299


Array is an lvalue or not?

1189


What is calloc malloc realloc in c?

1107


Why c is known as a mother language?

1132


Why calloc is better than malloc?

1093


What is an auto keyword in c?

1146


If the size of int data type is two bytes, what is the range of signed int data type?

1070


how could explain about job profile

1988


Write a c program to demonstrate character and string constants?

2247