#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
What is getche() function?
in linking some of os executables are linking name some of them
What are the types of functions in c?
How can I ensure that integer arithmetic doesnt overflow?
What was noalias and what ever happened to it?
plz let me know how to become a telecom protocol tester. thank you.
Tell us two differences between new () and malloc ()?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is a stream?
Why c language is called c?
Can we access the array using a pointer in c language?
Explain built-in function?
Is it possible to initialize a variable at the time it was declared?
What is output redirection?
Is sizeof a keyword in c?