#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
The statement, int(*x[]) () what does in indicate?
write a program to display all prime numbers
List out few of the applications that make use of Multilinked Structures?
How do we declare variables in c?
How can I do graphics in c?
How to find a missed value, if you want to store 100 values in a 99 sized array?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
How do you determine a file’s attributes?
All technical questions
Why is #define used?
How to create struct variables?
What do you mean by a local block?
Write a program to reverse a linked list in c.
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
What is the purpose of the statement: strcat (S2, S1)?