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
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
What is a string?
How can I automatically locate a programs configuration files in the same directory as the executable?
program to convert a integer to string in c language'
Explain the difference between structs and unions in c?
What is the stack in c?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
Which is more efficient, a switch statement or an if else chain?
What is the use of bit field?
What is getch() function?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What is a scope resolution operator in c?
how to write a c program to print list of fruits in alpabetical order?
How does sizeof know array size?