#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
What is a union?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What type of function is main ()?
Explain the concept and use of type void.
What are c header files?
Suggesting that there can be 62 seconds in a minute?
What is pointer in c?
What is difference between union and structure in c?
How pointers are declared?
can we have joblib in a proc ?
Why are all header files not declared in every c program?
code for find determinent of amatrix
Is there sort function in c?
What is c++ used for today?
Is fortran still used today?