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


Please Help Members By Posting Answers For Below Questions

Explain the difference between ++u and u++?

624


How many levels of pointers can you have?

689


Differentiate between declaring a variable and defining a variable?

594


Is null always equal to 0(zero)?

566


write a program to concatenation the string using switch case?

1545






What is meant by type specifiers?

647


Explain enumerated types.

586


What is union in c?

622


Why is c called a mid-level programming language?

711


int i=10; printf("%d %d %d", i, i=20, i);

994


Under what circumstances does a name clash occur?

676


Why is c so important?

584


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1609


Write a C program to count the number of email on text

1401


How #define works?

599