main()
{
int a=2,*f1,*f2;
f1=f2=&a;
*f2+=*f2+=a+=2.5;
printf("\n%d %d %d",a,*f1,*f2);
}
Answer Posted / vamshikrishna
12 12 12
explanition.
printf takes the last updated value and prints for every var
i.e,
a=a+2.5=4
so f2=4
f2=f2+4=8
here again f2 =4 "since f2=&a"
so f2=f2+4=12
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
Cluster head selection in Wireless Sensor Network using C programming language.
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
How to palindrom string in c language?
how to test pierrot divisor
How can you relate the function with the structure? Explain with an appropriate example.
What is full form of PEPSI
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
write a simple calculator c program to perform addition, subtraction, mul and div.
#include
could you please send the program code for multiplying sparse matrix in c????
Write a program to model an exploding firecracker in the xy plane using a particle system
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?