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
How can I change their mode to binary?
How do you sort filenames in a directory?
How to declare pointer variables?
What is indirection? How many levels of pointers can you have?
Is array a primitive data type in c?
Can you tell me how to check whether a linked list is circular?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
How will you declare an array of three function pointers where each function receives two ints and returns a float?
write a c program in such a way that if we enter the today date the output should be next day's date.
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
How to define structures? ·
Explain can static variables be declared in a header file?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
How many header files are in c?