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
Explain what is #line used for?
how to write a c program to print list of fruits in alpabetical order?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What are the different types of data structures in c?
How can I pad a string to a known length?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is the advantage of a random access file?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is data types?
Define the scope of static variables.
What is "Duff's Device"?
What are the advantages of external class?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
How does placing some code lines between the comment symbol help in debugging the code?