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
What is pass by reference in c?
Can a pointer point to null?
How can I find out the size of a file, prior to reading it in?
What is realloc in c?
Why isnt any of this standardized in c?
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
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
Is it acceptable to declare/define a variable in a c header?
What is the difference between break and continue?
What is a class c rental property?
What is adt in c programming?
Is it possible to have a function as a parameter in another function?
How will you delete a node in DLL?
How can a program be made to print the name of a source file where an error occurs?
What are the usage of pointer in c?