int arr[] = {1,2,3,4}
int *ptr=arr;
*(arr+3) = *++ptr + *ptr++;
Final contents of arr[]
Answer Posted / sachin
1 2 3 3
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Can we declare variable anywhere in c?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
What is c method?
What is the value of h?
What is the difference between strcpy() and memcpy() function in c programming?
How to Throw some light on the splay trees?
Can we access array using pointer in c language?
will u please send me the placement papers to my mail???????????????????
Explain zero based addressing.
How can I find out if there are characters available for reading?
What 'lex' does?
What is use of null pointer in c?
Can we replace the struct function in tree syntax with a union?
What is malloc and calloc?
Is there a way to switch on strings?