int arr[] = {1,2,3,4}
int *ptr=arr;

*(arr+3) = *++ptr + *ptr++;

Final contents of arr[]

Answer Posted / guest

{1,2,3,4}

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pass by reference in c?

617


Can a pointer point to null?

594


How can I find out the size of a file, prior to reading it in?

628


What is realloc in c?

581


Why isnt any of this standardized in c?

641






write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1455


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

592


Is it acceptable to declare/define a variable in a c header?

688


What is the difference between break and continue?

608


What is a class c rental property?

620


What is adt in c programming?

613


Is it possible to have a function as a parameter in another function?

604


How will you delete a node in DLL?

688


How can a program be made to print the name of a source file where an error occurs?

735


What are the usage of pointer in c?

708