int arr[] = {1,2,3,4}
int *ptr=arr;
*(arr+3) = *++ptr + *ptr++;
Final contents of arr[]
Answer Posted / vignesh1988i
1 2 3 5
Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
How can you determine the size of an allocated portion of memory?
How can you read a directory in a C program?
What would be an example of a structure analogous to structure c?
What are bitwise shift operators in c programming?
Linked lists -- can you tell me how to check whether a linked list is circular?
Why is c called a mid-level programming language?
Explain Basic concepts of C language?
What is logical error?
What is an identifier?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
Is null a keyword in c?
What are header files why are they important?
Write program to remove duplicate in an array?
When should a type cast be used?
What is console in c language?