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
Explain how are portions of a program disabled in demo versions?
Why do we need functions in c?
Explain what does it mean when a pointer is used in an if statement?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
What does 3 periods mean in texting?
Why c is called a mid level programming language?
What is integer constants?
Give differences between - new and malloc() , delete and free() ?
What is the concatenation operator?
What does the c preprocessor do?
show how link list can be used to repersent the following polynomial i) 5x+2
Explain how do you sort filenames in a directory?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
What is getche() function?
Why doesnt that code work?