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 is local and global variable in c?
Is c procedural or object oriented?
What is variable in c example?
Write a code to generate divisors of an integer?
What are global variables and how do you declare them?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Can a function argument have default value?
What is null character in c?
Explain the process of converting a Tree into a Binary Tree.
What is the difference between exit() and _exit() function?
What are the application of void data type in c?
Is c++ based on c?
Why header files are used?
Are negative numbers true in c?
Explain what is a const pointer?