#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
Is c is a high level language?
Explain setjmp()?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Do pointers need to be initialized?
How many identifiers are there in c?
How can I trap or ignore keyboard interrupts like control-c?
What do you mean by Recursion Function?
What is the difference between text and binary i/o?
What does c mean before a date?
What is I ++ in c programming?
simple program of graphics and their output display
write a c program to find the sum of five entered numbers using an array named number
Where are c variables stored in memory?
What is the function of this pointer?
Explain the difference between the local variable and global variable in c?