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
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How do you print only part of a string?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is the use of getch ()?
Can the curly brackets { } be used to enclose a single line of code?
Explain what is output redirection?
Explain how can I read and write comma-delimited text?
How to draw the flowchart for structure programs?
What is function prototype in c language?
Write a C program to count the number of email on text
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
How can I use a preprocessorif expression to ?
What Is The Difference Between Null And Void Pointer?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions