#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
Why isnt any of this standardized in c?
What is meant by 'bit masking'?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What are register variables? What are the advantage of using register variables?
using only #include
What is the difference between exit() and _exit() function in c?
What are file streams?
What is call by value in c?
What functions are used in dynamic memory allocation in c?
Is a house a mass structure?
Can a variable be both static and volatile in c?
What does do in c?
where are auto variables stored? What are the characteristics of an auto variable?
Is null a keyword in c?
What is the difference between memcpy and memmove?