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


Please Help Members By Posting Answers For Below Questions

How can you determine the size of an allocated portion of memory?

748


How can you read a directory in a C program?

656


What would be an example of a structure analogous to structure c?

578


What are bitwise shift operators in c programming?

650


Linked lists -- can you tell me how to check whether a linked list is circular?

648






Why is c called a mid-level programming language?

733


Explain Basic concepts of C language?

650


What is logical error?

605


What is an identifier?

632


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

671


Is null a keyword in c?

739


What are header files why are they important?

586


Write program to remove duplicate in an array?

604


When should a type cast be used?

577


What is console in c language?

616