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
How to write a multi-statement macro?
How can I manipulate strings of multibyte characters?
What is pass by reference in functions?
How can a program be made to print the line number where an error occurs?
Is printf a keyword?
What is a good data structure to use for storing lines of text?
What is function and its example?
Explain how do you print only part of a string?
Write the control statements in C language
Multiply an Integer Number by 2 Without Using Multiplication Operator
Explain how can I right-justify a string?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What does main () mean in c?
Explain how can you tell whether a program was compiled using c versus c++?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.