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
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What are the types of macro formats?
Tell me what is the purpose of 'register' keyword in c language?
Why calloc is better than malloc?
Explain how do you search data in a data file using random access method?
Is there sort function in c?
How can you determine the maximum value that a numeric variable can hold?
Who developed c language?
What is the difference between malloc() and calloc() function in c language?
what is the role you expect in software industry?
Write a program to generate the Fibinocci Series
What is call by value in c?
How can you determine the size of an allocated portion of memory?
How can I find the modification date and time of a file?
Do you know null pointer?