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
What does c in a circle mean?
Why calloc is better than malloc?
What is the difference between functions getch() and getche()?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What are the differences between Structures and Arrays?
Difference between strcpy() and memcpy() function?
What is #ifdef ? What is its application?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What is d scanf?
Do pointers store the address of value or the actual value of a variable?
What is dynamic variable in c?
Can we assign integer value to char in c?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?