#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
Why do we use c for the speed of light?
What is the significance of an algorithm to C programming?
If null and 0 are equivalent as null pointer constants, which should I use?
How many header files are in c?
Where in memory are my variables stored?
What is binary tree in c?
c language interview questions & answer
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
How can you tell whether two strings are the same?
What is a good way to implement complex numbers in c?
What are the advantages of union?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What is a constant?
Wt are the Buses in C Language
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.